EllisLab text mark
Advanced Search
     
Codeigniter Session Problem
Posted: 30 September 2007 01:35 PM   [ Ignore ]
Avatar
Joined: 2007-05-20
68 posts

  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  

 Signature 

IT Outsourcing | Web Development|Cheap Hosting | Cheapest hosting | Free hosting linux

 
Posted: 01 October 2007 03:21 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2007-07-17
122 posts

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

 Signature 

Computers are incredibly fast, accurate and stupid. Human beings are incredibly slow, inaccurate and brilliant. Together they are powerful beyond imagination.

                                    A. Einstein

 
Posted: 01 October 2007 10:28 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2007-05-20
68 posts

Thanks you all, I fix the problem . many times we put  

error_reporting(E_ALLE_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

error_reporting(E_ALL); 

to do tests.


Thanks Justin.

 Signature 

IT Outsourcing | Web Development|Cheap Hosting | Cheapest hosting | Free hosting linux