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
Node.js
#4
Brian,

I did something similar in 3.3.

in login.php after auth and before the redirect you could put in two session vars:

$_SESSION['ll'] = $userdetails["last_sign_in_stamp"]; // whatever equivalent in 4.x
$_SESSION['lt'] = date("Y-m-d H:iConfused");

Then you can compare those vars against themselves or other per-page datas.

This might not play well with remember-me :|
  Reply


Messages In This Thread
Node.js - by astropos - 02-29-2016, 12:55 PM
Node.js - by mudmin - 03-05-2016, 03:39 PM
Node.js - by brian - 03-07-2016, 01:16 PM
Node.js - by astropos - 03-07-2016, 07:44 PM
Node.js - by brian - 03-07-2016, 09:37 PM
Node.js - by brian - 03-07-2016, 11:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)