Hi all,
     I am a very queer problem. I am using Tomcat 3.1 as standalone
and configured in server.xml file as below

<Context path="" docBase="webapps/ums" debug="0" reloadable="true" >
        </Context>

The index.jsp is a login screen which submits to form data to Retrieve.jsp file. In 
both the files i have given code
 to display session id.  The problem is when i give url: 'http:\\ localhost:8080\' 
(which loads the index.jsp file), the session id in
index.jsp and retrieve.jsp are different (ie 2 sessions have been created), While if i 
give the url :
' http:\\ localhost:8080\ums\index.jsp'  the session ids  in index.jsp and 
retrieve.jsp is the same (i.e only one session is created).
What is the problem which is causing this. How can i have only one session  created  
when i use the url 'http:\\localhost:8080\'
.Pls help.

Regards,
John Thomas.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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

Reply via email to