Hi all,
     The following is the scenario.
I have a login page'index.html' to enter the username and password.
this form is submitted to a 'login.jsp' for
user authentication. If authentication is succesful i put the user
data as a User object in to a Vector object of Application scope and
i add an attribute to the session object pertaining to the user. The
result is another page with links to various modules in my
application.
     However when an inactive timeout occurs (i've set it to 600) and
when the user clicks any of the links it brings the login page because
i check for the session.getValue() .  When the timeout occurs the
session is invalidated, but the user object remains in the
application_scope object. The user object is removed from the
application_scope object only when he logs out.On successful login of
the same user again i want to display the module he tried to view by
clicking the link.
Can anyone give suggestions on this

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