aspose file tools*
The moose likes Servlets and the fly likes Session Management Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Management Question" Watch "Session Management Question" New topic
Author

Session Management Question

Techno Dude
Greenhorn

Joined: Nov 19, 2001
Posts: 1
Guys ,
I have some questions regarding session Management.
After a user successfully logs in through the login page('login.jsp'), we show a main Navigation menu (menu.jsp').
From the navigation menu user can open various instances of Browser, each having a separate functionality. Since I open browser instances from the main naviagtion page, they have same session id.
In each JSP page - say REFERER , I keep a check if the session is valid. If session has expired, I forward him to the 'login.jsp' page
Question :
How do I send the user to the same JSP page - REFERER , after successful login ?
I will appreciate your help .
manav kher
Ranch Hand

Joined: Nov 21, 2000
Posts: 98
pass the name/path/id of the current REFERER when forwarding to login.jsp (as part of the request) and use that to forward the user to the appropriate page after successful login
-manav
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
Javaranch has a naming policy . Please read and re-register with a name that conforms to that policy.
Thanks,
Matthew Phillips

Matthew Phillips
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Management Question