X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=session.php;h=bd91a5b019e5fcf98fa1c78b919bde3f8939676a;hb=51cf6721f37220e1277c71545b87dcc01fbf7e81;hp=25eb46f0b067270cf9774760a2e8892c5b7d67e9;hpb=f780f9588f9829d8e31d84c45bd9280d2a336df0;p=wfpl.git diff --git a/session.php b/session.php index 25eb46f..bd91a5b 100644 --- a/session.php +++ b/session.php @@ -69,7 +69,7 @@ function session_touch($length = false) { } $expires = time() + $length; - header('Set-Cookie: session_key=' . $GLOBALS['session_key']); + header('Set-Cookie: session_key=' . $GLOBALS['session_key'] . '; Path=/'); db_update('wfpl_sessions', 'expires', $expires, 'where id=%i', $GLOBALS['session_id']); }