re-built the sessions class, and other connected classes, along with proper cookies support

This commit is contained in:
seek3r 2000-09-03 09:19:16 +00:00
parent 107ab95f3f
commit 56216eacd7

View File

@ -45,11 +45,11 @@
function show_cookie()
{
global $phpgw_info, $code, $lastloginid, $login;
if ($code != 5){
if ($phpgw_info["server"]["usecookies"]) {
if ($code != 5 && $phpgw_info["server"]["usecookies"] == True){
if (!empty($login)) {
SetCookie("lastloginid",$login, time() + (24 * 3600 * 14),"/");
return $lastloginid;
}
return $lastloginid;
}
}