Welcome Guest, Not a member yet? Register   Sign In
How to tell if session loaded?
#6

(This post was last modified: 09-17-2018, 04:08 AM by InsiteFX. Edit Reason: added links )

Hi guys,

I check it like this, according to PHP.net

PHP Code:
// Ensure session is started and running
if (session_status() == PHP_SESSION_NONE)
{
 
   // session has not started so start it
 
   session()->start();

See these:
PHP.net - session_status
PHP.net - Session Functions
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
How to tell if session loaded? - by skunkbad - 09-15-2018, 10:36 AM
RE: How to tell if session loaded? - by kilishan - 09-16-2018, 11:44 AM
RE: How to tell if session loaded? - by skunkbad - 09-16-2018, 01:50 PM
RE: How to tell if session loaded? - by kilishan - 09-16-2018, 02:43 PM
RE: How to tell if session loaded? - by skunkbad - 09-16-2018, 10:09 PM
RE: How to tell if session loaded? - by InsiteFX - 09-17-2018, 04:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB