aspose file tools
The moose likes Servlets and the fly likes going to earlier page after relogin Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "going to earlier page after relogin" Watch "going to earlier page after relogin" New topic
Author

going to earlier page after relogin

aresh babu
Ranch Hand

Joined: Aug 31, 2008
Posts: 65
Hello

suppose i got a session timeout and i re login in to same account.
after re login how can i go back to the page where i was earlier ?



Thanks & Regards

Areshbabu
Charbel Keyrouz
Ranch Hand

Joined: Jun 10, 2005
Posts: 46
Try saving the current page in the cookies.
Whenever you go to a page in your website set a property in the cookies named currentpage and that has the value of the current loaded url.

After the timeout the value of the currentpage cookie will be the last visited url.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56177
    
  13

This (recording the cookie) would be easy to accomplish with a filter.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: going to earlier page after relogin
 
Similar Threads
Back After Logout in Struts
just need a idea for this
nice way for Handling session timeouts
j_security_check 'next' page?
LDAP authentication + filter + redirect = mess