Hi guys,

   I had a few minutes today to give a look at the RFC2109 that Matthias pointed out.

   I sincerely admit I never put much attention on this document as I always 
considered the Netscape doc as it was the 'bible' about cookies management.

   I gave a look at this document and I made a few changes regarding the class.

   In particular I now manage the 'max-age' attribute of the cookie, as a new way of 
applying the expiration of a cookie.

   Also I changed the way of sending the "Cookie:" header of the HTTP request, 
according to what this document says. For instance:

Cookie: $Version="1";
Customer="WILE_E_COYOTE"; $Path="/acme";
Part_Number="Rocket_Launcher_0001"; $Path="/acme"

   I have some doubts however regarding the quoting of the values when receiving the 
'Set-Cookie' directive from the server. I would love if you guys could give me some 
hint or advice regarding this.

Hope I did a good thing! :-)

Ciao
-Gabriele



_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to