Best php 5 session alternative to Native Session |
[eluser]paulopmx[/eluser]
Hi, I was in the same pickle as you, so I took NG Session and modified it to allow the session to be removed on browser closed. Download it here just place the extracted file in /system/application/libraries add this to your db Code: CREATE TABLE `ci_sessions` ( in your config.php Code: $config['sess_cookie_name'] = 'ci_session'; setting $config['sess_expiration'] to 0 will tell the browser to delete the session on browser close, using -1 will tell the browser to delete the session after 2 years, or you can set your own in minutes. This is just a modification of NG Session so you can use its wiki http://codeigniter.com/wiki/NG_Session/ Hope this helps. Paulo |
Messages In This Thread |
Best php 5 session alternative to Native Session - by El Forum - 05-16-2008, 09:09 AM
Best php 5 session alternative to Native Session - by El Forum - 05-16-2008, 04:00 PM
Best php 5 session alternative to Native Session - by El Forum - 05-16-2008, 05:22 PM
Best php 5 session alternative to Native Session - by El Forum - 05-16-2008, 07:01 PM
Best php 5 session alternative to Native Session - by El Forum - 05-16-2008, 08:10 PM
Best php 5 session alternative to Native Session - by El Forum - 05-16-2008, 08:18 PM
Best php 5 session alternative to Native Session - by El Forum - 05-17-2008, 12:06 AM
Best php 5 session alternative to Native Session - by El Forum - 07-22-2008, 09:44 PM
Best php 5 session alternative to Native Session - by El Forum - 04-02-2009, 12:16 AM
|