Hello Roland,
On Saturday, November 09, 2002, Roland Fritz wrote...
>> 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;
>> }
>> }
> without the session_register/unregister the wellknown error will occur...
This is most annoying. Based on the docs over at php.net both methods
should work. The only reason I didn't want to introduce
session_(un)register to the game is because it requires 4.0.6 or
higher. I guess we might just have to push this code in, and increase
the requirement level. I wonder if it could be possible the session
isn't being started *before* the call is made, with later versions of
PHP, it could be possible that setting a var via $_SESSION will start
a session but setting a var via $HTTP_SESSION_VARS doesn't.
--
Jonathan Angliss
([EMAIL PROTECTED])
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
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