Welcome Guest, Not a member yet? Register   Sign In
CI 3 RC Sessions: mark_as_temp()
#4

(02-02-2015, 02:23 PM)Narf Wrote: Naturally, if your session expires, any tempdata in it gets deleted as well. Or do you mean something else?

Actually i'm stuck in a little problem, i will really appreciate it if you can help me or guide me in the right way.

i m working on a back end for my websites, you can call it backend or c-panel.

my config is like this:

$config['sess_expiration'] = 7200;
$config['sess_time_to_update'] = 300;

which i don't want to change for obvious reason, i might change them for the front end site sessions, but for backend if a user checks remember me while logging, i want to give him sess_exipration of at least 2 days, with session not expiring on browser close. but if he doesn't check remember me i want to expire his session after 1 hour with session expire automatically on browser window close.

for that reason i was trying to use set_tempdata, when i found above issue.

Regards.
Reply


Messages In This Thread
CI 3 RC Sessions: mark_as_temp() - by summer - 02-02-2015, 12:36 AM
RE: CI 3 RC Sessions: mark_as_temp() - by summer - 02-02-2015, 01:11 PM
RE: CI 3 RC Sessions: mark_as_temp() - by Narf - 02-02-2015, 02:23 PM
RE: CI 3 RC Sessions: mark_as_temp() - by summer - 02-03-2015, 12:00 AM
RE: CI 3 RC Sessions: mark_as_temp() - by Narf - 02-03-2015, 02:08 AM
RE: CI 3 RC Sessions: mark_as_temp() - by summer - 02-03-2015, 03:35 AM
RE: CI 3 RC Sessions: mark_as_temp() - by Narf - 02-03-2015, 03:48 AM
RE: CI 3 RC Sessions: mark_as_temp() - by summer - 02-03-2015, 04:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB