JSP session loosing values.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sumit_David
Posted On:   Thursday, April 4, 2002 10:40 PM

Hi

I have a JSP application in which a user submits an answer (approx. 500 words) to a question. Now I have around 10 such questions so I use user's name as identification. Asking for his name at every question would be foolish so I store the name in a session variable. The first time the user answers a question the application asks for his name and stores th name in a session variable. But as soon as he tries to submit another answer or for that matter another answer to the same question the session variable is erased!!!

Can anybody help me out.

Re: JSP session loosing values.

Posted By:   travis_woods  
Posted On:   Friday, April 5, 2002 12:53 PM

can you post your code that sets the session variable, and the code that is checking to see if it exists before submitting the answers...
About | Sitemap | Contact