summaryrefslogtreecommitdiff
path: root/sessions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-03-02 17:21:08 +0100
committerAndrew Dolgov <[email protected]>2006-03-02 17:21:08 +0100
commit686c3ccfa6060be0b3ed2a634709bb7eff702f50 (patch)
treef55d99c13b35a82d634ad7fdfcf20f27fd960bcb /sessions.php
parent04febb0429adb24da43ac33bc6d925d450e10b60 (diff)
SESSION_COOKIE_LIFETIME
Diffstat (limited to 'sessions.php')
-rw-r--r--sessions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/sessions.php b/sessions.php
index 36a982f7c..42877ffec 100644
--- a/sessions.php
+++ b/sessions.php
@@ -107,6 +107,8 @@
db_query($session_connection, $query);
}
+ session_set_cookie_params(SESSION_COOKIE_LIFETIME);
+
if (DATABASE_BACKED_SESSIONS) {
session_set_save_handler("open", "close", "read", "write", "destroy", "gc");
}