Forums Register Login

logout problem

+Pie Number of slices to send: Send
in my application i provide link for logout.if user clicking the logout .i am invalidating the session in logout.jsp and redirect to index.jsp

i am not able to set the value in session

can anybody tell how display message (successfully logout) to user in index.jsp and remove the message is there any other way to set and remove the message to user
+Pie Number of slices to send: Send
 


i am not able to set the value in session


What value are you trying to set?


can anybody tell how display message (successfully logout) to user in index.jsp and remove the message is there any other way to set and remove the message to user


Not sure what you are trying to do here. I would guess the sensible thing to sdo would be to redirect the user to a logout page with this message and a link to click back to the login page?
+Pie Number of slices to send: Send
after invalidating session i am setting the value session in successfully logout its giving error is there any other way to set the value to display to user?
+Pie Number of slices to send: Send
What we normally do is
1. set the value at successful login-validation
2. Check it all the time (possibly on every page) for the value to be in session
3. Remove/invalidate session during logout.


Originally posted by vijayakumar durai:
...after invalidating session i am setting the value session in successfully logout ...



if you have invalidated the session what are you trying set again and why?
+Pie Number of slices to send: Send
i have to display success fully logout to the user.
+Pie Number of slices to send: Send
Are you trying to set error message in session after invalidating it?


if you have invalidated the session what are you trying set again...

http://faq.javaranch.com/java/TellTheDetails
He's my best friend. Not yours. Mine. You can have this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1235 times.
Similar Threads
Kyle!plz help!!
Restrict Login from Multiple Sessions
how to kill a session
Removing session
Can i call filter after particulate event?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:43:24.