[SalesForce] Create a custom session time out alert page

We have a force.com site and have a 50 step multi wizard. We want to mimic the current salesforce session time out alert where a popup would be displayed to an user if the user is idle and logged in and not doing anything for say 15 minutes. Currently you have session management in the org which does not apply to force.com site. Can anybody share some code to handle session time out on force.com sites? We are not using default salesforce template which makes it hard as well?
Buyan

Best Answer

Can't help you with JS code, but I can with APEX. There's a freebie Stop Watch class that's part of Apex Utilities which you can get from either the App Exchange or get the source code here. If you downloaded the source code, I'd think you could readily incorporate portions of it into a custom controller for your wizard.

Related Topic