Welcome Guest, Not a member yet? Register   Sign In
Losing session user_data randomly
#5

[eluser]ray023[/eluser]
[quote author="suicidalandroid" date="1286527399"]
...Any ideas?[/quote]

I have an idea because I've been chasing a similar problem the past couple of days.

Are you setting session values to the use the database:
Code:
$config['sess_use_database']    = TRUE;

If so, the value in your user_data field might be going over the field's limit; which will cause CI to destroy the session var (See Saving Session Data to a Database)

UPDATE: Now that I've taken a closer look at my database, I noticed that I had user_data set to varchar(255) instead of TEXT Tongue

You probably have paid a bit more attention to detail than I have for your issue...but I will leave this post in tact on the chance it proves helpful.


Messages In This Thread
Losing session user_data randomly - by El Forum - 10-07-2010, 09:43 PM
Losing session user_data randomly - by El Forum - 10-07-2010, 11:30 PM
Losing session user_data randomly - by El Forum - 10-08-2010, 12:12 AM
Losing session user_data randomly - by El Forum - 10-08-2010, 01:34 AM
Losing session user_data randomly - by El Forum - 10-26-2010, 08:34 PM
Losing session user_data randomly - by El Forum - 11-04-2010, 02:49 AM
Losing session user_data randomly - by El Forum - 11-04-2010, 04:50 AM
Losing session user_data randomly - by El Forum - 11-04-2010, 05:33 AM
Losing session user_data randomly - by El Forum - 11-04-2010, 10:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB