Question
Users closing out of app improperly by clicking on IE Close button at the top 'X'
Users closing out of app improperly by clicking on IE Close button at the top 'X' :
With Pega OOTB design, we all know this is not ideal to exit out of your application cleanly, but most times Business users are clicking on IE's Close button at the top 'X' and this does not log them out of their backend session appropriately -- User session and cookie are not invalidated.
What's the best possible solution to graciously log out user session, cookie etc.. when User's click on IE's X?
Appreciate the details in advance!
***Moderator Edit: Vidyaranjan | Tagged SR Exists***
Hi Suresh,
Please find the below link, hope this is could be more helpful to you
https://pdn.pega.com/community/pega-product-support/question/session-log-upon-browser-close
You may use custom javascript functions to call log off activity on close of browser activity below (You can use this to warn your users not to close browser without log off)
<script>
window.onbeforeunload = function () {
return "Are you sure?";
}
</script>
Thanks,
Best regards,
Naveen