Welcome Guest, Not a member yet? Register   Sign In
Testing with session
#2

SteeveDroz
> Which is the correct solution? What are the best practices? and how do I do that?

Check out the PHP Online Manual for solutions.

A simple test:

PHP Code:
if( isset($_SESSION) ) :
  
// do nothing
else:  
  
session_start();
endif; 
Reply


Messages In This Thread
Testing with session - by SteeveDroz - 10-27-2019, 12:05 AM
RE: Testing with session - by John_Betong - 10-27-2019, 08:18 PM
RE: Testing with session - by SteeveDroz - 10-27-2019, 10:31 PM
RE: Testing with session - by John_Betong - 10-28-2019, 01:49 AM
RE: Testing with session - by kilishan - 10-28-2019, 06:34 AM
RE: Testing with session - by SteeveDroz - 10-30-2019, 12:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB