Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Reg: onbeforeunload Javascript event not firing while closing browser

  • Akukho zimpendulo
  • 2 zinale nkinga
  • 7 views
more options

Dear Mozilla,

I am .net developer, i developed website for online Reports,my requiriement is we provide login details to clients and we restrict login for single user(for example if user login in one place the same user should not allow to other person to login), so we successfully done this part. the thing is client logged in to website and close browser directly with out logout, i achieved to reset login details using onbeforeunload javascript event when close browser directly.

we tested in browser of google chrome and IE the onbeforeunload event is firing properly(complete browser close and tab close). and i tested in mozilla when i close tab onbeforeunload event is firing properly but when close compelte browser it is not firing

Please do needful on above issue.

Thanks&Regards Shravan.

Dear Mozilla, I am .net developer, i developed website for online Reports,my requiriement is we provide login details to clients and we restrict login for single user(for example if user login in one place the same user should not allow to other person to login), so we successfully done this part. the thing is client logged in to website and close browser directly with out logout, i achieved to reset login details using onbeforeunload javascript event when close browser directly. we tested in browser of google chrome and IE the onbeforeunload event is firing properly(complete browser close and tab close). and i tested in mozilla when i close tab onbeforeunload event is firing properly but when close compelte browser it is not firing Please do needful on above issue. Thanks&Regards Shravan.