let the session expire in 2 weeks
authorChristian Weiske <christian.weiske@netresearch.de>
Wed, 25 Jun 2014 09:15:31 +0000 (11:15 +0200)
committerChristian Weiske <christian.weiske@netresearch.de>
Wed, 25 Jun 2014 09:15:31 +0000 (11:15 +0200)
www/www-header.php

index f13108d..56c7b8e 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 namespace phorkie;
 error_reporting(error_reporting() & ~E_STRICT);
+session_set_cookie_params(14 * 86400);//2 weeks session expiry time
 session_start();
 
 require_once __DIR__ . '/../src/phorkie/autoload.php';