Session ID not regenerating |
Hey
I'm having problems with the session ID not regenerating. This is my config Code: $config['sess_driver'] = 'database'; I set it to really short timeframes for experimentation. When I register a user, I set a session variable called user_id then load a different page. At registration the output for session variables is Code: session_id() = kvrphe8... Code: session_id() = kvrphe8... Why isn't the session id regenerating after 30 seconds? If i wait more than 60 seconds the session is destroyed as expected, and the session_id() changes. But shouldn't it change every 30 seconds in this instance? I would also expect the session to be destroyed at 30 seconds because sess_regenerate_destroy = TRUE, but that obviously isnt happening either. Thanks
sess_expiration = Time in seconds (integer)
You are saying 60 seconds which is 1 minute. For 15 minutes the sess_expiration = 900 What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |