One possible solution could be to add an attribute to the session in the
initial pages and then search for this attribute in every page if the
attribute is not found then direct the user to the initial pages.

Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
----- Original Message -----
From: Vishwa <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 30, 2000 2:38 PM
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.
>
> Regards,
> 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