CodeIgniter Forums

Full Version: Codeigniter Session Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Justin Patel[/eluser]
I am facing some problem with codeigniter session. Some time the session expires automatically. Now i got logged in and i put some information in to session now when i got another page it get expires and get nothing in session

plz help me to get out of this

El Forum

[eluser]alpar[/eluser]
Are you using user agent matching? if so try turning it off, and se if it helps. There is a bug regarding sessions with user agent matching, the fix is very simple, and you can find it in the forums

El Forum

[eluser]Justin Patel[/eluser]
Thanks you all, I fix the problem . many times we put

Code:
error_reporting(E_ALL^ E_NOTICE ^ E_WARNING);

to ignore the error so it cause the problem of session (i am saying some time).
If some one face this kind of error be sure to keep your error level to

Code:
error_reporting(E_ALL);

to do tests.


Thanks Justin.