Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to clear session in JSP?

800295Mar 15 2007 — edited Mar 16 2007
I searched yahoo, and found that it seemed not easy to force invalid the session using jsp, compared to php just three lines:
session_start();
session_unset();
session_destroy();

How to acheive this using JSP? Must I follow these (quite complex) steps like this one?
http://sdc.sun.co.jp/javasystem/technote/cluster/jsp.html

Any simplier method?
Thx.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2007
Added on Mar 15 2007
2 comments
241 views