Skip to Content
0
Former Member
Mar 20, 2009 at 11:47 AM

Need to do page refresh on Alert OK button

140 Views

Hi Experts,

In my BSP application, when the user is idle, we are showing an alert to the user 10 minutes before the time out time.

The message is like 'Please press OK before 'XX"XX:XX am/pm"' Otheriwse your session will be automatically time out".

here i am capturing everything fine and everything works well. But the problem is if the User clicked the OK on alert box after 20mins ( means the time out is already happened ). But the page will not be refreshed. so he will get the normal screen only and the time out message will come whenever he clicks any button (on any http request).

My requirement is to show the timeout to him immediately after pressing OK. Means i want my page to be refreshed after OK button press.

Any suggestions?

Thanks in advance.

Jyothi