• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to tell if session loaded?

#3
(09-16-2018, 11:44 AM)kilishan Wrote: Where do you see that in the docs? That should be eradicated. The Session library is pretty much a straight port of the CI3 one, so it should be pretty much what you're used to.

The session is not started until you load it the first time. Calling the session() helper command will automatically start it if it isn't already started.

This is where I see it:

https://bcit-ci.github.io/CodeIgniter4/l...-a-session

but I'd still like to know the CI4 way to tell if something like the session is already loaded.
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.