WebSession.Quit

From Xojo Documentation

Method

WebSession.Quit()

New in 2010r4

Supported for all project types and targets.

Ends the session.

Notes

WebSession.Quit sends a message to the browser to close and tells the WebSession object that it has expired. There is still a short period of time where the session will be alive though, at least until the next time the framework looks for expired sessions.

WebSession.Quit does not end the session if called from the WebSession.Open event.