If you use request.getSession(false) instead of request.getSession() a new session will not be created if one doesn't exist. Then you can get a clearer picture of what is going on in your app. How are you implementing the session id on the client, cookies or url rewriting? It sounds like a problem with these. Another idea is the amount of time allotted per session is way too short, but I doubt it, as your probably going through the pages very quickly while debugging. And last, have you defined that your jsp page participates in the session? As in: <%page session="true" %> I think you must do this. Scott Evans > -----Original Message----- > From: PITCHUKA SRINIVASA RAO [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 03, 2000 7:49 AM > To: [EMAIL PROTECTED] > Subject: problem with session tracking,getting two sessions at a time. > > > Hi all, > In my application after user successfully logged in,I'll > assign a adminID > to him and I'm putting that adminID in that session.then I'm > forwarding > to index.html file where total transactions or process to be > done after > user successfully logged in.In that index.html I'm having > action to some > jsp file(say viewresults.jsp) where I'm retriving the adminID.This is > the actual procass to be done. > But in the viewresults.jsp file I'm checking whether it's a new > session,but it's not a new session and I also I checked whether the > session valid.it's valid.but it's giving a different sessionid in the > viewresults.jsp due to which I was unable to retrieve the > adminID form the > session.Can any one help. > Thanks in advance. > Sreenivas p,CMCLtd,India > > ============================================================== > ============= > To unsubscribe: mailto [EMAIL PROTECTED] with body: > "signoff JSP-INTEREST". > Some relevant FAQs on JSP/Servlets can be found at: > http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
