I am using setTimeout in my jsp to ping the server repeatedly after some time . The ping should reach the server from the client just to check that the user has kept his browser open
But the strange thing is that when there is an alert in the page say "Are you sure you want to delete ?" comes up in the page with OK and CANCEL buttons . If the user doesn't click any of them setTimeout() is not working . I mean call is not happening from the client to server
is this the limitation of that function ?? i can't use meta tag as i doesn't want my page to be refreshed .