• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI' session question

#6
[eluser]iainco[/eluser]
Hi, sorry for taking so long to get back to you.

In your login.php you have this code (function iloginto() for setting session data):

Code:
'session_id_user' => $this->session->userdata('session_id')

The session_id in CI sessions is automatically regenerated, I think the default is every 5 minutes.

So when you try to access the other page where you are having problems, if the session has been regenerated, then you will be denied access. All the other session information will still be present and saved in the database but the session_id won't match.

Maybe someone else will have a look and try and help!


Messages In This Thread
CI' session question - by El Forum - 11-29-2008, 09:45 AM
CI' session question - by El Forum - 11-29-2008, 10:54 AM
CI' session question - by El Forum - 11-29-2008, 11:31 AM
CI' session question - by El Forum - 11-29-2008, 11:47 AM
CI' session question - by El Forum - 11-29-2008, 11:02 PM
CI' session question - by El Forum - 12-01-2008, 06:53 AM
CI' session question - by El Forum - 12-01-2008, 10:27 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.