How to set and read a flash variable? |
(06-30-2017, 02:08 AM)desbest Wrote: I'm using this code in the controller and I'm getting an error. Read the documentation. https://www.codeigniter.com/user_guide/l...sions.html Quote:Sessions will typically run globally with each page load, so the Session class should either be initialized in your controller constructors, or it can be auto-loaded by the system. For the most part the session class will run unattended in the background, so simply initializing the class will cause it to read, create, and update sessions when necessary. |
Messages In This Thread |
How to set and read a flash variable? - by desbest - 06-25-2017, 10:13 AM
RE: How to set and read a flash variable? - by Paradinight - 06-25-2017, 11:11 AM
RE: How to set and read a flash variable? - by desbest - 06-30-2017, 02:08 AM
RE: How to set and read a flash variable? - by Paradinight - 06-30-2017, 10:37 AM
RE: How to set and read a flash variable? - by dave friend - 06-30-2017, 05:58 AM
RE: How to set and read a flash variable? - by ciadvantage - 06-30-2017, 10:18 AM
RE: How to set and read a flash variable? - by gabrielcastillo - 02-09-2018, 02:52 PM
RE: How to set and read a flash variable? - by dave friend - 02-09-2018, 03:34 PM
RE: How to set and read a flash variable? - by Wouter60 - 02-09-2018, 03:12 PM
|