File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
going to earlier page after relogin
Joined: Aug 31, 2008
Jul 03, 2009 12:19:47
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
Joined: Jun 10, 2005
Jul 03, 2009 15:27:19
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.
Author and ninkuma
Joined: Jan 10, 2002
Jul 03, 2009 15:34:04
This (recording the cookie) would be easy to accomplish with a filter.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: going to earlier page after relogin
Back After Logout in Struts
LDAP authentication + filter + redirect = mess
just need a idea for this
j_security_check 'next' page?
nice way for Handling session timeouts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014