Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 2.0?
#16

[eluser]punchi[/eluser]
[quote author="WanWizard" date="1280281456"][quote author="punchi" date="1280276054"]A way to work with native PHP sessions... as far as I know, the "sessions" are an emulation of the real ones, as they'r handled with cookies. Why not implement something to work with real session and have another methods to controle cookies?[/quote]
I wonder why people keep on talking about this?

Properly configured CI sessions are *NOT* emulations that uses cookies, the use the database, and only send a cookie to the client containing an encrypted session_id.
Just like PHP's native sessions. PHP sessions have the option to append the PHPSESSID to the query string, which is unsecure, and not possible in a standard CI setup as query strings are not used.

The only difference is that CI uses the database to store the session records, while PHP's session management uses file based storage.

You sound a bit like my users: if I ask what feature is missing, they come with a 'solution', instead of describing the problem... Wink[/quote]

Well, I just missed a way to handle native sessions (never said I have a problem with that) and I think that you solution by connecting to a DB to retrieve sessions its a waste of resources, by regenerates cookie its enough. Thanks anyway =)


Messages In This Thread
Codeigniter 2.0? - by El Forum - 07-21-2010, 06:05 PM
Codeigniter 2.0? - by El Forum - 07-21-2010, 07:13 PM
Codeigniter 2.0? - by El Forum - 07-22-2010, 11:58 AM
Codeigniter 2.0? - by El Forum - 07-22-2010, 12:02 PM
Codeigniter 2.0? - by El Forum - 07-22-2010, 06:15 PM
Codeigniter 2.0? - by El Forum - 07-23-2010, 06:32 AM
Codeigniter 2.0? - by El Forum - 07-26-2010, 05:54 AM
Codeigniter 2.0? - by El Forum - 07-26-2010, 07:05 PM
Codeigniter 2.0? - by El Forum - 07-26-2010, 07:17 PM
Codeigniter 2.0? - by El Forum - 07-26-2010, 07:38 PM
Codeigniter 2.0? - by El Forum - 07-27-2010, 12:29 AM
Codeigniter 2.0? - by El Forum - 07-27-2010, 01:14 PM
Codeigniter 2.0? - by El Forum - 07-27-2010, 01:18 PM
Codeigniter 2.0? - by El Forum - 07-27-2010, 02:44 PM
Codeigniter 2.0? - by El Forum - 07-27-2010, 07:07 PM
Codeigniter 2.0? - by El Forum - 07-27-2010, 09:32 PM
Codeigniter 2.0? - by El Forum - 07-28-2010, 01:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB