X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=session.php;h=4efec20e32d649217d2933e0282c7ad4e2009886;hb=a09e0b5b03f95291c9508dd28a2e682ea9fb1f88;hp=4bbaea92ebfe134816e02d1a7ac073bb78b5c30b;hpb=73490300ca9dea6fc3c6d3a474ab49796fd58438;p=wfpl.git diff --git a/session.php b/session.php index 4bbaea9..4efec20 100644 --- a/session.php +++ b/session.php @@ -71,6 +71,7 @@ function session_new($length = 86400) { $GLOBALS['session_key'] = $session_key; $_REQUEST['session_key'] = $session_key; #just in case someone calls session_exists() after session_new() session_touch($length); + return $GLOBALS['session_key']; } # call to renew the timeout for the session.