Browse code

sichere cookies

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1132 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on13/08/2008 01:55:14
Showing1 changed files
... ...
@@ -13,6 +13,8 @@ require_once('inc/base.php');
13 13
 
14 14
 session_name('CONFIG_SCHOKOKEKS_ORG');
15 15
 
16
+if ($_SERVER['HTTPS']) session_set_cookie_params( 0, '/', '', true, true );
17
+
16 18
 if (!session_start())
17 19
 {
18 20
         logger("session/start", "session", "Die session konnte nicht gestartet werden!");