Hi all Servleters,

  I am new to Cookies and Session Variables,
i am facing a problem using both. I have created
a logon screen i am accepting username and password
from it. when submitted i am storing username in a
cookie after validation, I am reading value of cookie
from another servlet (it works fine for first time),
but when i go to previous page I change username, the
servlet for validation gets called on submitting and
it stores the value of username into cookie, but this
time i get the old value from the cookie when i read
it from the other servlet.
I tried the same with Session Variables and I am
getting always the old value.

What can be the problem?

Please help me. if possible provide code also.

Thank you in advance

Shrikant

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to