Welcome Guest, Not a member yet? Register   Sign In
Trying to wrap up my session / cookie issues
#1

[eluser]internut[/eluser]
Hey All,

Things have been going great with CI but now I'm back to working with sessions
and getting hung up.

I love the CI library for sessions. My only issue is its not letting me grab
a $_SESSION[name] var outside the CI application.

I have been working with the wiki session library by: Dariusz Debowczyk

http://codeigniter.com/wiki/Native_session/

Which allows me to grab $_SESSION vars in an individual .php file around a site.

Though this wiki library does not seem to be taking the session config settings of:

$config['sess_expiration'] = 15;
$config['sess_time_to_update'] = 3;

Its just keeping the session data active and never expiring. So with the above if
i come back 20 seconds later i'm still logged in.

CI's normal/default library would send me back to a login screen.

Thoughts on using CI's default session library and getting the $_SESSION vars
available to another .php script away from this CI app?


Messages In This Thread
Trying to wrap up my session / cookie issues - by El Forum - 11-17-2008, 09:11 PM
Trying to wrap up my session / cookie issues - by El Forum - 11-17-2008, 09:43 PM
Trying to wrap up my session / cookie issues - by El Forum - 11-17-2008, 10:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB