Thanks for the suggestion. but in those servlets where I'm arriving thru sendRedirect are not giving problem. instead the servlet arriving thru hyperlink is giving problem.Any suggestion? And as u have told, url rewriting requires a lot of effort. > ---------- > From: bino[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent: Tuesday, April 10, 2001 8:58 PM > To: [EMAIL PROTECTED] > Subject: Re: session tracking problem > > I guess its because u r using sendRedirect() method. > I also had the same problem once..but when i removed sendRedirect() it > started working fine. > > As a suggestion i can tell u to use URL Re-writing for session > tracking..but it also has lot of disadvantages. > > > Sudarson_Pratihar wrote: > > > > Hi All , > > I'm facing the problem while invoking > request.isRequestedSessionIdValid() . > > It is giving false. But it's not expected to do so. The web application > has > > the form based login system. After logining thru the Logservlet > redirects to > > another servlet(HomeServlet) which displays welcome message as well as a > > treelist for navigation. For this HomeServlet display two other servlets > in > > frames. And upto this , I'm getting request.isRequestedSessionIdValid() > true > > in each of the servlets. But whenever , some url in the > treelist(navigation > > panel) is clicked, it invokes some servlet. And there I check for > > request.isRequestedSessionIdValid(). And to my surprise, I find it > false. > > The session tracking is based on cookies and the same code is working in > > javawebserver2.0. I have made the timeout properties large enough. Can > > anybody pls help me? Any suggestion is welcome. Thanks and Regards, > > Sudarson > > > > > __________________________________________________________________________ > _ > > 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 > > __________________________________________________________________________ > _ > 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 > ___________________________________________________________________________ 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
