A session is a session between the JSP server and the browser and all web
app servers need it to operate.  You need to find another way of attacking
the problem, such as setting a session property to see if the user has
logged in.



-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Vishwa
Sent: Wednesday, August 30, 2000 10:41 AM
To: [EMAIL PROTECTED]
Subject: JSP - Session


Hello all,

We are having problem with session creation in jsp. The compiled java file
by default creates the predefined session object this way :

        HttpSession session = request.getSession(true);

Is there anyway to change the default argument value to false ?, We need to
avoid users directly accessing the JSP without accessing the initial web
pages.

We tried setting the <@page session to false, it doesn't seem to change the
way the session object is being created.

Thanks in advance,
Vishwa

===========================================================================
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

Reply via email to