A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: going to earlier page after relogin
just need a idea for this
LDAP authentication + filter + redirect = mess
Back After Logout in Struts
nice way for Handling session timeouts
j_security_check 'next' page?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014