Welcome Guest, Not a member yet? Register   Sign In
session expiration
#1

[eluser]arlabbafi[/eluser]
hi
I want that sessions enable until the user browser is kept open and when user close His browser then session expired
what can i do??
#2

[eluser]arlabbafi[/eluser]
isn't a solution ?
#3

[eluser]Unknown[/eluser]
you can change the expiration date of the session class
Do this from your Controller class:
$this->session->sess_expiration=-2*time();

You can also modify CI class to accept -1 as expiration date till browser is closed.
but then you will have to worry about each CI version update

hope it will help

Rotem




Theme © iAndrew 2016 - Forum software by © MyBB