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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
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: 61766
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: going to earlier page after relogin