Project

General

Profile

How can i know if (user or Application) still is sign in or not in Servlet?

Added by Everton Fonseca almost 6 years ago

How can i know if (user or Application) still is sign in or not in Servlet? and if it's possible how can i shutdown them?


Replies (2)

RE: How can i know if (user or Application) still is sign in or not in Servlet? - Added by Wim Dumon almost 6 years ago

Hello,

WApplication.quit() terminates a session.

WApplication.hasQuit() returns if quit() has been called.

WApplication.unload() is called if the user surfs away from the web page (by default, calls quit())

WApplication.destroy() is called on the application object to clean up its resources when it's no longer of use.

Regards,

Wim.

    (1-2/2)