How to kill the session on clsoing the tab or Browser itself instead of Logoff button
Here is the problem:
Take this case, User open the multiple tabs in internet explorer and one of the Tab has pega application, upon log on to application user opened multiple work objects and closed the tab, and reopened the Pega session in same browser session in different tab,
this time application NOT asked for login credentials and system directly opening work objects which are opened before tab close- THIS IS NOT EXPECTED,
And opened work objects are turning to READ ONLY- THIS IS ALSO NOT EXPECTED.
Your particular use case seems to suggest that you're interested in tab closure, this may be achievable by hooking into beforeUnload event (not viable for entire browser closure) however refer to Richard Marsot's and Mike Townsend's comments for some of the things to bear in mind.