Hello Laurence, On Thursday, November 07, 2002, Laurence Berland wrote... >> There has been a number of issues with 1.2.9, there was a minor >> issue in the session writing for versions of PHP earlier than >> 4.1.0. This issue has (hopefully) been fixed in 1.2.10[cvs], but if >> you want a quick fix open src/global.php and in the functions >> sqsession_register and sqsession_unregister look at the line: >> >> if ( !check_php_version(4,1) && empty($rg)) { >> >> and remove the "&& empty($rg)" part, save and try logging in again. >> Let me/us know if this resolves the issues.
> That's not doing it...still broken. I'm using PHP 4.0.6, do I need to > upgrade PHP? Oh I don't want to go around pushing our requirements up to 4.1.0 or higher, lets see if we can find another solution. Can you change your sqsession_register and sqsession_unregister code in src/global.php to the following: function sqsession_register ($var, $name) { if ( !check_php_version(4,1)) { global $HTTP_SESSION_VARS; $HTTP_SESSION_VARS["$name"] = $var; session_register("$name" , $var); } else { $_SESSION["$name"] = $var; } } function sqsession_unregister ($name) { if ( !check_php_version(4,1) && empty($rg)) { global $HTTP_SESSION_VARS; unset($HTTP_SESSION_VARS["$name"]); session_unregister("$name"); } else { unset($_SESSION["$name"]); } } Am I right in assuming nobody using 4.1.0 is having an issue logging in? -- Jonathan Angliss ([EMAIL PROTECTED]) ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users