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

  • Re: OT - How Web Apps Do/Should Detect Authentication
    ... Is it some kind of cookie? ... URL rewriting that put the session id in the URL ... that we can send an HTTP header to their product and it would ... it may be secure. ...
    (microsoft.public.dotnet.languages.csharp)
  • 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)
  • Re: OT - How Web Apps Do/Should Detect Authentication
    ... Is it some kind of cookie? ... URL rewriting that put the session id in the URL ... that we can send an HTTP header to their product and it would ... how can this be secure if ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: OT - How Web Apps Do/Should Detect Authentication
    ... Is it some kind of cookie? ... URL rewriting that put the session id in the URL ... that we can send an HTTP header to their product and it would ... it may be secure. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: OT - How Web Apps Do/Should Detect Authentication
    ... Is it some kind of cookie? ... URL rewriting that put the session id in the URL ... that we can send an HTTP header to their product and it would ... it may be secure. ...
    (microsoft.public.dotnet.languages.csharp)