[EMAIL PROTECTED] writes: > Thanks Ian > > It occurred to me after I send the original email that the space may > be escaped with a +. It's not clear to me whether spaces are permitted > in cookie values
The Netscape Cookie spec does not allow space chars in the raw cookie (ie the NAME=VALUE portion of the "Cookie" header). Here is the spec link: http://wp.netscape.com/newsref/std/cookie_spec.html However I suspect the space doesn't appear in the actual cookie header- it's probably a "+" there. > The weird thing is, if I set what seems to be the same Cookie > with CGI, then Apache::Cookie reads it correctly. IIRC CGI will url-encode the " " as %20, so neither " " nor "+" will appear in the actual Cookie header. Apache::Cookie is probably not translating the "+" character into a " ". Which version of Apache::Cookie are you using? -- Joe Schaefer -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html