#29078 [Fbk->Opn]: sessions fail
| From: | jasonm304 at hotmail dot com | Date: | Sun, 11 Jul 2004 17:07:30 +0000 |
| Subject: | #29078 [Fbk->Opn]: sessions fail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62028@lists.php.net to get a copy of this message | ||
ID: 29078
User updated by: jasonm304 at hotmail dot com
Reported By: jasonm304 at hotmail dot com
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: Windows XP
PHP Version: 4.3.7
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-07-10 06:47:32] curt@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[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