• Post Reply Bookmark Topic Watch Topic
  • New Topic

window.onbeforeunload is not working in chrome  RSS feed

pitchaiah basam
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
window.onbeforeunload=function(); is not working in chrome.. It works for IE and Mozila but it not works for chrome.. Is there any another way to use window.onbeforeunload=function(); in chrome.
Please find the below code. Failure.jsp is not calling in Chrome
Thanks in advance.......

window.onbeforeunload = function() {


<h3> <b> Your session Expired</b></h3>
<% session.invalidate();
Click here to <a href="http://localhost:8080/myApplication">Relogin</a>
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!