ID: 29078
Updated by: [EMAIL PROTECTED]
Reported By: jasonm304 at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Windows XP
PHP Version: 4.3.7
New Comment:
Firewall issue -> not PHP bug -> bogus bug report.
Previous Comments:
------------------------------------------------------------------------
[2004-07-11 19:07:27] jasonm304 at hotmail dot com
I have found out by further testing that this is not a php issue. I
found out that my Firewall was blocking the use of sessions. If i moved
to more than one php page the session data would be lost due to the
firewall.
------------------------------------------------------------------------
[2004-07-09 20:35:48] jasonm304 at hotmail dot com
Description:
------------
Im trying to make a login page passing session data to remember the
login details. I know that the code works as it was on another PC
working fine. But the seesions are not kept and fall over. i have a
front form which posts the name and ID. It is checked with a MYSQL DB
and made into a session.
Reproduce code:
---------------
session_start();
$_SESSION["name"] = $UserDetails["Name"];
$_SESSION["userid"] = $UserDetails["UserID"];
header ("Location: login.php");
Expected result:
----------------
The session data is then passed on the login.php
i can then use name and user id to give access to site.
Actual result:
--------------
but when i use print_r($_SESSION) it does not display the session
information.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29078&edit=1