posted 12 years ago
Dear Sir,
I am getting problem in session management In my application Like if i logged in with two different users and At the time of Log out I invalidate the Session But My always first user is log out while i am doing log out the Second user.I am Using URL rewriting technique.
So sir Tell me 2 Things
1- In My Application I have Lot of Hyperlink At Right and Left Navigation of the Logged in User .So i have to Pass The Some parameter Through Each and Every Hyper Link So that Application Server recognize that the Request Come From The Same user??
2-I am Doing at the login time "request.getsession(true); session.setAttribute("username",username); And the Time of Log Out I am doing "session.removeAttribute("username");session.invalidate()"
So What i have to pass from the each and every Link to maintain the session By the User??? and how??