Dear Sir/Madam,
This is XiaoPeng here. I am using Tomcat 5.5.8 and JDK 1.5 to develope a project
now. The problem is the cookie is not stable. I had tried many times,
and tried to use session insead of cookie, but seems it doesn't work.
The cookie code is showing below,
I think you have an error in your code.
Cookie cookies[]=request.getCookies();
...
uCookie=cookies[0];
username=sCookie.getName();
is it sCookie or uCookie?
DarekC
On Mon, 25 Apr 2005 11:30:55 +0800
XiaoPeng [EMAIL PROTECTED] wrote:
Dear Sir/Madam,
This is XiaoPeng here. I am using
[EMAIL PROTECTED]
Sent: Apr 24, 2005 8:30 PM
To: tomcat-user@jakarta.apache.org
Subject: tomcat jsp problem with cookies
Dear Sir/Madam,
This is XiaoPeng here. I am using Tomcat 5.5.8 and JDK 1.5 to develope a project
now. The problem is the cookie is not stable. I had tried many times,
and tried