Yee, Can you please suggest some solution for this problem other than keeping the applications in the same session. The thing is that these applications are developed by different different groups in my organisation and hence deployment takes place in different contexts. As authentication is required to access each it is not feasible to ask my users to login every time he accesses an application during the same session.
V.T.R.Ravi Kumar, Engg.(CCX), BHEL Phone 01334-285260(O) 01334-226121(R) ----- Original Message ----- From: "Yee, Richard K,,DMDCWEST" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 20, 2003 8:51 PM Subject: Re: Session not accessible > vtr, > You wrote: > >The JSP and Servlet are in different context in a TOMCAT 1.4.1. > webserver. > This is your problem. Sessions are maintained on a context level by > the app server. Only JSPs and Servlets within the same context can access > the same session instance. > > Rgds, > > Richard > > > > > > -----Original Message----- > > From: vtr [SMTP:[EMAIL PROTECTED] > > Sent: Thursday, June 19, 2003 11:19 PM > > To: [EMAIL PROTECTED] > > Subject: Session not accessible > > > > Hi all, > > > > I have a login JSP where in I set the session variable when I try to > > access the session from another report > > servlet the session variable is not accessible and also the getSession > > method returns different values > > every time . I have tried using true and flase in the getSession.The JSP > > and Servlet are in different > > context in a TOMCAT 1.4.1. webserver. > > > > Please help with your comments... > > > > V.T.R.Ravi Kumar, Engg.(CCX), BHEL > > Phone 01334-285260(O) > > 01334-226121(R) > > > > ========================================================================== > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > > DIGEST". > > > > Some relevant archives, FAQs and Forums on JSPs can be found at: > > > > http://java.sun.com/products/jsp > > http://archives.java.sun.com/jsp-interest.html > > http://forums.java.sun.com > > http://www.jspinsider.com > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > > Some relevant archives, FAQs and Forums on JSPs can be found at: > > http://java.sun.com/products/jsp > http://archives.java.sun.com/jsp-interest.html > http://forums.java.sun.com > http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com