Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter lost my session
#23

[eluser]WanWizard[/eluser]
Oh?

And why not? How do you pass the session_id to the client (and back with the next request) if you don't use cookies? The Native Session library (from the Wiki) definately uses a session cookie:
Code:
// sessions engine should run on cookies to minimize opportunities
// of session fixation attack
ini_set('session.use_only_cookies', 1);

session_start() creates the session cookie, using cookie parameters defined in php.ini, which are exactly the same parameters as CI's session library uses. If you can configure that properly, you can also configure the CI library properly, so I still don't see a valid reason to switch.


Messages In This Thread
CodeIgniter lost my session - by El Forum - 08-23-2010, 04:42 PM
CodeIgniter lost my session - by El Forum - 08-24-2010, 03:39 PM
CodeIgniter lost my session - by El Forum - 08-24-2010, 11:23 PM
CodeIgniter lost my session - by El Forum - 08-26-2010, 01:38 AM
CodeIgniter lost my session - by El Forum - 08-26-2010, 08:55 AM
CodeIgniter lost my session - by El Forum - 08-26-2010, 09:55 AM
CodeIgniter lost my session - by El Forum - 08-26-2010, 11:07 AM
CodeIgniter lost my session - by El Forum - 08-26-2010, 11:54 AM
CodeIgniter lost my session - by El Forum - 08-26-2010, 05:16 PM
CodeIgniter lost my session - by El Forum - 08-26-2010, 05:24 PM
CodeIgniter lost my session - by El Forum - 08-27-2010, 02:17 AM
CodeIgniter lost my session - by El Forum - 08-27-2010, 10:16 AM
CodeIgniter lost my session - by El Forum - 08-27-2010, 12:13 PM
CodeIgniter lost my session - by El Forum - 08-27-2010, 01:28 PM
CodeIgniter lost my session - by El Forum - 08-27-2010, 01:55 PM
CodeIgniter lost my session - by El Forum - 08-27-2010, 05:30 PM
CodeIgniter lost my session - by El Forum - 09-01-2010, 11:43 AM
CodeIgniter lost my session - by El Forum - 09-01-2010, 01:16 PM
CodeIgniter lost my session - by El Forum - 09-01-2010, 01:24 PM
CodeIgniter lost my session - by El Forum - 09-01-2010, 01:37 PM
CodeIgniter lost my session - by El Forum - 09-01-2010, 04:12 PM
CodeIgniter lost my session - by El Forum - 09-02-2010, 08:04 AM
CodeIgniter lost my session - by El Forum - 09-02-2010, 08:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB