Welcome Guest, Not a member yet? Register   Sign In
session not working?

(02-18-2020, 07:59 PM)mjamilasfihani Wrote: Why you just not using :

Or for CI4


Before it you must call the session library.

Both ways work the same as i understand it, only difference between them being the CI session library has helper functions that makes things easier to do/work with.
In my case, I personally prefer pushing/deleting all my values to/from the $_SESSION variable (the way I learned way back in '03) and use the CI helper functions as needed.

Messages In This Thread
session not working? - by adscbe - 02-18-2020, 11:06 AM
RE: session not working? - by mjamilasfihani - 02-18-2020, 07:59 PM
RE: session not working? - by stlake2011 - 02-23-2020, 08:30 AM

Theme © iAndrew 2016 - Forum software by © MyBB