PHP 4.0 Bug #8014 Updated: session storing problem

From: Date: Sat, 02 Dec 2000 13:55:00 +0000
Subject: PHP 4.0 Bug #8014 Updated: session storing problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-39838@lists.php.net to get a copy of this message
ID: 8014 Updated by: sas Reported By: awe@email.cz Status: Feedback Bug Type: *Session related Assigned To: Comments: Are there any error messages beside that? Does the session file get created? Do you have cookies enabled, and if not, do you provide the session id to the second script? We cannot help you with so litte information. Sorry. Previous Comments: --------------------------------------------------------------------------- [2000-11-28 16:45:42] sniper@php.net reclassified --------------------------------------------------------------------------- [2000-11-28 13:16:41] awe@email.cz Hi, I have two scripts, one -- session_start (); session_register("user_id"); $HTTP_SESSION_VARS["user_id"]=456; --- and second, which is linked from first --- session_start (); if (session_is_registered("user_id")) { echo $HTTP_SESSION_VARS["user_id"]; } --- and echo gives error Undefined index. On linux the same thing work ok. Martin Nedbal --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8014

« previous php.dev (#39838) next »