Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Servlets.... within the JavaScript forums, part of the Web Development category; Hi, I have code which has to get the existing session from the request and use it but the behaviour of request.getSession() is strange and i couldn't understand. I know ...
|
|||||||
|
|||
|
Servlets....
Hi,
I have code which has to get the existing session from the request and use it but the behaviour of request.getSession() is strange and i couldn't understand. I know that request.getSession() will return existing session if it is there otherwise creates new session and returns. But in my case though there is a session in the request, request.getSession() is creating new session. But when i say request.getSession(false) it is returning existing session. Can anybody explain why request.getSession() is not returning existing session. Thanks in advance............ |
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| servlets sessionmanagement. | gganiraju | QTP | 2 | 02-22-2008 06:36 AM |
| servlets | sreejava | Java | 0 | 02-19-2008 02:51 AM |
| Regarding Servlets | samineni6 | JSP | 15 | 11-19-2007 08:41 AM |
| servlets and jsp | chary04 | Java | 1 | 09-09-2007 06:39 AM |
| Help regarding JSP and servlets | neelim | Java | 8 | 05-29-2007 03:49 AM |