2
Answers

Detect browser refreshed using jquery..

honey

honey

10y
4.7k
1
Hi.. Gud mrng.

I have d requirement that if the user clicked refresh button or f5 I need to redirect the page to Login page..

I had done with browser close using 
 $(window).bind('beforeunload', function (e) {
   //my logiic
});

But i failed in the refresh or pressing f5..

if u know .
plz help me..

Thanks,
Honey..
Answers (2)