I want to display a java script confirmation box before browser session is timeout with message as "Your session is going to timeout in 2 mins. Do you want to extend session?", if user is clicked on "Ok" button within the session timeout period, session should be extend. If he didnot clicked on OK button within the session timeout period, the session should expire.
Can any one give any solution or sample code for this.