void destroy( )

Destroys the session. This will terminate the session and any further connections with this id will be given a new id and session.

Source

/**
 * Destroys the session. This will terminate the session and any further
 * connections with this id will be given a new id and session.
 */
void destroy();