I'm running FreeTrade without cookies, and I think there should be a
tweak to GENERATE_SID. When you generate a new sid you should
redirect the user, so they won't go back to the (sid-less) page, get a
new sid generated, and lose their session. I changed GENERATE_SID
right at the bottom to:
if(USE_COOKIES)
{
//set cookie
setcookie("sid", $sid, time()+SESSION_LIFETIME);
}
// added ---
else
{
$URL = str_replace("&", "&", ScreenURL($SCREEN));
// keep all of the GET variables intact:
while (list($key, $value) = each($HTTP_GET_VARS)) {
if ($key != "SCREEN") // that was already included by ScreenURL()
{
$URL .= "&" . $key . "=" . urlencode($value);
}
}
header("Location: " . $URL);
}
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]