The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automatic logout all userspice pages when one of them is logged out
#25
issue solved.......
It is a really weird cause. I added alert(data) inside the if (data == '0') loop, I find that it alerts 0 after 5 seconds, but your code already specified that it executes inside the if loop if data is not 0. So somehow the 0 from the posted data is not recognized as 0 by the if statement.....

I changed the if statement from if (data == '0') to be: if (isNaN(data))
everything works perfect now....Thank you so much for the code!

Angel
  Reply


Messages In This Thread
Automatic logout all userspice pages when one of them is logged out - by Angel - 09-23-2016, 09:22 PM

Forum Jump:


Users browsing this thread: 11 Guest(s)