Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION SESSION exists and session_start() already called
#6
A good practice is to check session status before you call session_start:

PHP5.4+
PHP Code:
if (session_status() == PHP_SESSION_NONE) {
  
session_start();

Reply


Messages In This Thread
RE: SESSION exists and session_start() already called - by Bigin - 2018-03-07, 20:39:32



Users browsing this thread: 2 Guest(s)