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
The Mikado Method
this week in the
Agile and other Processes
Joined: Oct 18, 2003
Mar 26, 2010 07:50:21
We have one requirement related to session re-generation. We want to re-generate session before redirecting/forwarding a logged in user to next page.
We have implemented a code to copy all the session attribute in a Hash Map, then we have invalidated the current session.
Subsequently, we created new session and moved all the Hash Map entries to new session as attributes.
We have verified that all the attributes are available in new session and can be accessed properly.
However, the user is redirected to login page instead of moving him to the desired page.
Any help for this is appreciated.
Joined: Sep 29, 2008
Mar 26, 2010 18:36:33
We have no way of knowing why your application is redirecting to the wrong place--perhaps some code and/or configuration would help.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Session Re-generation
Prevent Duplicate Logins
How to invalidate user's session forcefully
illegalStateException after invalidating Session
explicitly making any user logout from the site
Session management on server to server requests.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013