close « Browser « JSP-Servlet Q&A





2. Closing the browser    coderanch.com

But realize that you're not GUARANTEED that this method will be run whenever someone closes your browser window... what if they simply type a new URL into their browser? What if the browser doesn't support Javascript, or they've turned it off? Make sure your session.setMaxMaxInactiveInterval(int) is set to an appropriate period so that its long enough so it doesn't kill people's ...

3. running servlet after the browser is closed    coderanch.com

Hi, I am having a jsp page which selects a network from a combo box and submit to a servlet which get the network from the jsp page and dials the contact numbers from the network.I am refreshing the servlet page. Now what i need is if i close the servlet page the refresh stops and the whole process stops.How can ...