The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
User Sessions, expire time
#15
I am not the brightest person here so, could you please explain how or why it would not make sense to destroy it? If that was the case, because since the user is not logged in, this count would never happen.

Maybe what I am trying to say is that to me, that validation ($user->isLoggedIn() ) is redundant and would never be used since that user is not logged already, but if the user happens to open the browser again before the garbage collection removes his session the other part would catch it, or am I missing something?

As for the headers, it is very easy to test if you implement your solution and set the timeout to like 10 you can test several times. I do not have debugging capabilities so I can not follow the execution, maybe you can and find where the double redirect happens.
  Reply


Messages In This Thread
User Sessions, expire time - by aseiras - 09-12-2016, 02:26 PM
User Sessions, expire time - by mudmin - 09-12-2016, 02:39 PM
User Sessions, expire time - by aseiras - 09-12-2016, 02:45 PM
User Sessions, expire time - by mudmin - 09-12-2016, 02:56 PM
User Sessions, expire time - by mudmin - 09-12-2016, 02:57 PM
User Sessions, expire time - by aseiras - 09-12-2016, 04:12 PM
User Sessions, expire time - by mudmin - 09-12-2016, 09:52 PM
User Sessions, expire time - by brian - 09-12-2016, 10:12 PM
User Sessions, expire time - by brian - 09-13-2016, 12:45 PM
User Sessions, expire time - by brian - 09-13-2016, 01:10 PM
User Sessions, expire time - by aseiras - 09-13-2016, 01:26 PM
User Sessions, expire time - by aseiras - 09-13-2016, 01:29 PM
User Sessions, expire time - by aseiras - 09-14-2016, 10:29 AM
User Sessions, expire time - by brian - 09-14-2016, 11:19 AM
User Sessions, expire time - by aseiras - 09-14-2016, 11:33 AM
User Sessions, expire time - by brian - 09-14-2016, 12:06 PM
User Sessions, expire time - by aseiras - 09-14-2016, 12:18 PM
User Sessions, expire time - by brian - 09-14-2016, 12:27 PM
User Sessions, expire time - by aseiras - 09-14-2016, 12:34 PM
User Sessions, expire time - by brian - 09-14-2016, 12:54 PM
User Sessions, expire time - by mudmin - 09-15-2016, 02:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)