Re: cookie problem.



On 09/28/2006 05:43 AM, Oobi Van Doobi wrote:
Could some kind soul advice a little,please.
I have a C++ client, communicating with a perl script over http. I send a cookie from the script to the client, and naturally want to send it
back to the script to maintain the state.

However, sending the cookie back to the script causes the script to crash.

the script is simple, it accepts parameters from a form in the C++ client,
and prints them back to the client( this part works).

There is conclusively something wrong with the format of the cookie sent
back:
the line of the cookie sent to the script is this:

Cookie:cookiename=cookieval;cookieparam1...cookieparamn.

is this correct way of sending the cookie?(correct format?)

many thank's for any advice


<OT>
Here is where cookies are described:

http://www.w3.org/Protocols/rfc2109/rfc2109

E.g.
Cookie: cookie1name="cookie1value"; cookie2name="cookie2value"
Cookie2: $Version=1

FYI:
Download and install the "lynx" web browser; it's very useful for debugging web pages and scripts. If you enable lynx's "trace" mode, it outputs into its trace file a verbatim copy of the HTTP request it sends.



--
paduille.4058.mumia.w@xxxxxxxxxxxxx

.



Relevant Pages

  • Re: Sharing same cookie between server and client
    ... script, sometimes were are getting a wrong value. ... Client browser IE6. ... latest value of the cookie as sent by the server, and I can't see a way the Server won't send a Set-Cookie header when the cookieis modified. ... Could be the client cache, a proxy or even the Response cache on ...
    (microsoft.public.dotnet.framework.aspnet)
  • IE dot bug - Sandblad advisory #7
    ... Initially reported to Microsoft about the dot bug vulnerability. ... Microsoft released patch: ... Files in the cookie directory are not treated as beeing in the ... Remote webpage can script in local zone" ...
    (Bugtraq)
  • Re: Parameter quires in Data access pages
    ... script code from the DAP that writes the cookie to the PC: ... This is the script that reads, writes, and deletes cookies on the PC: ... button on the DAP, and then navigates to the "show me" DAP: ... <MS ACCESS MVP> ...
    (microsoft.public.access.dataaccess.pages)
  • Re: Parameter quires in Data access pages
    ... "Ken Snell (MVP)" wrote: ... script code from the DAP that writes the cookie to the PC: ... This is the script that reads, writes, and deletes cookies on the PC: ...
    (microsoft.public.access.dataaccess.pages)
  • Re: Join ISA in domain after installation
    ... yes, but with or without domain membership only for protocols HTTP, HTTPS and FTP over HTTP ... in the domain again will that be possible without deploying the FW client? ... Is there a way to join the domain WITHOUT uninstalling ISA and then run a script or tool to populate what is missing (or maybe if I choose repair option for the installation?). ...
    (microsoft.public.isa)