we made a correction, if you read the javadoc, that is an invalid value
for a v0 cookie.
do a cookie.setVersion(1);
Filip
Sushil Vegad wrote:
Hello,
We upgraded to tomcat 5.5.26 from 5.0.28 and now its returning incorrect
cookie value.
We are setting user email/id in a cookie to remember the user, as follows
Cookie cookie = new Cookie(Constants.COOKIE_NAME, "[EMAIL PROTECTED]");
On doing cookie.getValue(), tomcat 5.5.26 just returns vsushil instead of
the whole string. Since some of our code was written on JDK 1.4, we
installed the JDK 4 compatibility package for tomcat5.5.26
Please let me know the possible options to fix this.
Thanks,
Sushil Vegad
Technical Lead, Scheduling Project
Serebrum Corporation - translating strategy into results
Work: 609.777.3563
Cell: 732.216.4908
Email: [EMAIL PROTECTED]
Conference Dial-in: 1-218-486-1300, Bridge: 427526
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.2/1271 - Release Date: 2/11/2008 8:16 AM
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]