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
Sessions over multiple pages
#2
When you're calling session_start(), you're resetting the session, or risking it will produce an error message since there is already a session created. Your best option is it just call init.php as recommended and then use session variables like $_SESSION['myVariable']=12345; and you call this by $_SESSION['myVariable'];
  Reply


Messages In This Thread
Sessions over multiple pages - by justawebbie - 05-21-2018, 03:31 PM
RE: Sessions over multiple pages - by Brandin - 07-09-2018, 10:33 PM
Sessions over multiple pages - by Brandin - 05-21-2018, 08:35 PM
Sessions over multiple pages - by Brandin - 05-21-2018, 08:35 PM
RE: Sessions over multiple pages - by justawebbie - 07-09-2018, 09:20 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)