Welcome Guest, Not a member yet? Register   Sign In
Question about Sessions ...
#4

hellol all, i'm a new member here! please take care of me Big Grin i wanna learn about CI more and more hehe

(11-11-2014, 05:57 PM)benedmunds Wrote:
(11-11-2014, 03:09 PM)ozzy mandiaz Wrote: new to codeigniter. been working/playing for about 3 weeks. in my spare time. to all you experienced users, I ask your indulgence and request that you be gentle with the newbie asking questions.

Welcome!

(11-11-2014, 03:09 PM)ozzy mandiaz Wrote: i want to be able to have specific items that are constant (not constants) in the system available to all parts of the system. for example, a client number. and data about that client. in other php apps I've developed, I would store that information in the session variable. so figured I would use the session helper. but it appears that the session stuff is reinitialized each time a new controller is instantiated. is that the case? is there a means to change that if it is the case?

Sessions are shared across an entire application for one user session and are not cleared between page changes, except for flashdata which is only good for one use.
Reply


Messages In This Thread
Question about Sessions ... - by ozzy mandiaz - 11-11-2014, 03:09 PM
RE: Question about Sessions ... - by benedmunds - 11-11-2014, 05:57 PM
RE: Question about Sessions ... - by ella - 11-11-2014, 07:05 PM
RE: Question about Sessions ... - by RobertSF - 11-12-2014, 07:38 PM
RE: Question about Sessions ... - by RobertSF - 11-11-2014, 06:26 PM
RE: Question about Sessions ... - by kilishan - 11-11-2014, 07:28 PM
RE: Question about Sessions ... - by RobertSF - 11-11-2014, 07:47 PM
RE: Question about Sessions ... - by ozzy mandiaz - 11-12-2014, 06:47 PM
RE: Question about Sessions ... - by ozzy mandiaz - 11-12-2014, 09:22 PM
RE: Question about Sessions ... - by InsiteFX - 11-12-2014, 09:39 PM
RE: Question about Sessions ... - by ozzy mandiaz - 11-12-2014, 10:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB