Guys,

Somebody hsa done something screwy with sessions, ther WEREN'T defining SID
when a cookie wasnt set. heres a diff:

--- php4-200203120300/ext/session/session.c     Wed Mar 13 02:51:51 2002
+++ tmp/php4-200203120300/ext/session/session.c Sat Mar  9 11:33:29 2002
@@ -940,14 +940,7 @@
                smart_str_0(&var);
                REGISTER_STRING_CONSTANT("SID", var.c, 0);
        } else {
-                smart_str var = {0};
-
-                smart_str_appends(&var, PS(session_name));
-                smart_str_appendc(&var, '=');
-                smart_str_appends(&var, PS(id));
-                smart_str_0(&var);
-                REGISTER_STRING_CONSTANT("SID", var.c, 0);
-               /* REGISTER_STRING_CONSTANT("SID", empty_string, 0); */
+               REGISTER_STRING_CONSTANT("SID", empty_string, 0);
        }

        PS(session_status) = php_session_active;

it had me scratchin my head for a while

Matt


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to