tags:

views:

62

answers:

0

Hi, My application is with basic authentication so in that session is not invalidating without closing window.So if my application is idle for 10 mins then by using setTimeout() giving alert with confirm box ,if i press it OK its reloading the page CANCEL means i am redirecting the page to JSP page where in that page LOGIN option is there, as i am not closing the browser so it is not asking LOGIN credentials username password (as Basic Authentication is used) it is directly logging in to the application with the current user(even i invalidated the session using session.invalidate()).So i need a solution such that it should asks Login credentials or confirm box wid timer so that i need to close that window after 60 sec if i didnt press any thing OK or CANCEL Otherwise alternative solution such that after inactivty session of 10 mins is over it should asks some confirmation with an alert and that alert should close within 60 secs if we didnt respond to that Thanks, Nani