Another developer on EE helped me partially with a piece of code i'd like to implement.
I was looking for a hidden div that once triggered started a count down until the users sessions expired.
The script that sort of helped is here http://jsfiddle.net/Proculopsis/FXZxQ/129/
What I really want this hidden div to do is appear when the users session has 60 seconds left. It also needs a button to extend the session and one to end the session immediately.
Could anybody help me achieve this result? For testing purposes session length can be 2 minutes.