|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
session.removeAttribute() don't work - logoff function
Hi all,
I'm trying to implement a logoff function. In order to remove an ID from the session, I tried this: Code:
session.removeAttribute("id");
Didn't work. Tried this: Code:
id = null;
session.setAttribute("id", id);
Didn't work neither...I would like the id to be null after performing the logoff but I see no way to doing this...any ideas? Thanks a lot! ::tiago |
|
#2
|
|||
|
|||
|
solution
The solution is:
Code:
session.invalidate(); ::tiago |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > session.removeAttribute() don't work - logoff function |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|