removeSession

removeSession();

The removeSession method of the WebSession class removes the current Web session. You can call this method in your code so that your application programmatically removes the current Web session, instead of using the Web Monitor utility to remove the current session.

If you want to send a specific message when the Web session is removed, use the WebSession class removeSessionWithMessage method.