tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Beech <travis.be...@gmail.com>
Subject Re: Tomcat 6.0.20 - Workaround for reading the value of a cookie with special characters
Date Sat, 16 Jan 2010 18:30:44 GMT
Mark,

Thanks for the info.

Travis Beech

On Jan 16, 2010, at 3:34 AM, Mark Thomas <markt@apache.org> wrote:

> On 16/01/2010 06:41, Travis Beech wrote:
>> Are there any workarounds available that will retrieve the entire
>> string
>> (SESSIONID=1234567890)?
>
> The next Tomcat 6.0.x release will include an option to allow =
> characters in cookie values. It does break the spec so use it at your
> own risk.
>
> The other option (that you can use now) is to ignore Tomcat's cookie
> support and parse the header yourself.
>
> request.getHeaders("Cookie")
>
> should get you started.
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message