Re: HTCookie problem(s)

Maarten wrote:
> 
> Hi,
> 
> I am having two problems with HTCookie:
> 
> 1) When trying to access 'http://ojps.aip.org' the server sets a cookie
> 'cookon=true' and refers me     (302) a '.jsp' page which actually tests
> if the cookie 'cookon' is set. If not, an error-page is displayed.
> However, WWWLib does not process 'SetCookie' before accessing the '.jsp'
> page and thus I end up with a 'Cookies not enabled' page.
> 
> 2) Not really a bug. A site (
> http://www4.ncbi.nlm.nih.gov/PubMed/medline.html ) uses cookies
>     containing '='. When retreiving a cookie from the cookielist (in a
> 'cookie=value;' format)
>     the list is searched, breaking at every occurance of '=' or ';'.
> Thus, 'acookie=abc=de;' gives
>     the name/value pair 'acookie'/'abc'. It gets worse for the next
> cookies in the list... I don't think
>     that an '=' belongs in a cookie so its no bug, but it can be fixed
> by specifically breaking on a ';'
>     when retrieving the 'value' part.
> 
> But, how to solve problem nr. 1?

I believe one must write it.

Olga said she was needing such a module.

See http://lists.w3.org/Archives/Public/www-lib/2001JulSep/0011.html

Maybe she did it since.

I would need this also but for now it's not planned in my scheduling
yet.

Received on Monday, 17 December 2001 23:36:42 UTC