Re: Set Cookie before I POST to server?

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 03/12/04


Date: Fri, 12 Mar 2004 12:29:04 -0500


"Nathan" <anonymous@discussions.microsoft.com> wrote in message
news:290F1FD8-BD0A-4AFD-B7B7-0F0E2A0EE3C9@microsoft.com...
> Is there any way I can set the cookie value in the HTTP header using
either IE or webbrowser control (VB 6) before navigation?

You can plant a cookie at any time with InternetSetCookie[Ex]. You can
also try passing a well-formed Cookie: header as a parameter to
Navigate. I haven't tried it, not sure it will work.

-- 
With best wishes,
    Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


Relevant Pages

  • Set Cookie before I POST to server?
    ... Is there any way I can set the cookie value in the HTTP header using either IE or webbrowser control before navigation? ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Cookie Confusion - How to Set a Cookie
    ... I am trying my hand at python cookies. ... I have simple code below -- I see the cookie in my HTTP header ...
    (comp.lang.python)
  • problem/help with using LWP
    ... from a browser you enter (at some point you get a session cookie, ... The navigation to the final POST always creates the same ... hidden form data. ... How do I refresh it? ...
    (comp.lang.perl.misc)
  • Re: Navigation hyperlinks...
    ... use JavaScript for this with a cookie. ... Conversation: Navigation hyperlinks... ... I want the link to my Login page to be disabled on my home page (and few ... > Conversation: Navigation hyperlinks... ...
    (microsoft.public.frontpage.programming)
  • Re: Passing Variables between Data Access Pages
    ... Use a cookie to hold the data during the navigation. ... > don't think the respondents understand what a Data Access page is. ... > instance I have a Login html page, I validate the User ID and Password ...
    (microsoft.public.access.modulesdaovba)