invalidateSession
Invalidates the current HTTP session and removes all session data. This is the correct way to terminate the whole application. This method should be associated with the “Exit” function of your application.
General format
void invalidateSession()