Oracle iPlanet Web Server 7.0.9 Developer's Guide to Java Web Applications

Invalidating a Session Manually

To invalidate a session manually, call the following method:

session.invalidate();

All objects bound to the session are removed.