not broken, corrected. the java doc says

     setValue

public void *setValue*(String 
<http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html> newValue)

   Assigns a new value to a cookie after the cookie is created. If you
   use a binary value, you may want to use BASE64 encoding.

   With Version 0 cookies, values should not contain white space,
   brackets, parentheses, equals signs, commas, double quotes, slashes,
   question marks, at signs, colons, and semicolons. Empty values may
   not behave the same way on all browsers.

   *Parameters:*
       |newValue| - a |String| specifying the new value


to fix this, all you need to do is

cookie.setVersion(1);

Filip

Konstantin Kolinko wrote:
I guess the cause is the same as for tomcat 6.0.16.
See messages entitles "Cookies are broken in 6.0.16?".

http://www.nabble.com/Cookies-are-broken-in-6.0.16--to15369118.html

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to