diff --git a/system/libraries/Session.php b/system/libraries/Session.php
index c1fc345..89662fe 100644
--- a/system/libraries/Session.php
+++ b/system/libraries/Session.php
@@ -275,7 +275,7 @@
 		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