diff options
-rw-r--r-- | system/libraries/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session.php b/system/libraries/Session.php index c1fc345d9..89662fe52 100644 --- a/system/libraries/Session.php +++ b/system/libraries/Session.php @@ -275,7 +275,7 @@ class CI_Session { setcookie( $this->sess_cookie, $cookie_data, - $this->sess_length + $this->now, + $this->sess_length + time(), $this->CI->config->item('cookie_path'), $this->CI->config->item('cookie_domain'), 0 |