Edit report at http://bugs.php.net/bug.php?id=14636&edit=1
ID: 14636
Comment by: h dot usmanltd at live dot com
Reported by: kannan at tmsassociates dot com
Summary: Session variables are lost when redirecting to a url
using header() function.
Status: Bogus
Type: Bug
Package: Session related
Operating System: windows 2000 professional
PHP Version: 4.0.6
Block user comment: N
Private report: N
New Comment:
Please contact us at the both email address :
[email protected]
[email protected]
Buy 3 Get 1 For Free
Buy 5 Get 2 for free
We give 90 days return company policy. We will give you your choice of a
full refund or a replacement item if available. Please bid with
confidence.
Apple iphone 4g hd 32gb $400usd
iPhone 4G 32gb
Stereo headset
Dock connector to USB cable
USB Power Adapter
Documentation
Cleaning / polishing cloth
SIM eject tool.
HTC HD2 $400usd
Nokia n80...................$300usd.
Apple iphone 3Gs 32gb........$350usd
Samsung i8910 Omnia HDUnlocked..$400usd
Blackberry bold $250usd
Blackberry storm..$280usd
Please contact us at the both email address :
[email protected]
[email protected]
skyp : h.usmanltd
Shipping Company Name : UPS/FEDEX/DHL
Deliver Time: 24Hrs to 48Hrs Time
Minium Order : 1 - 50 Units
Delivery : To any Location worldwide.
Previous Comments:
------------------------------------------------------------------------
[2010-10-18 07:18:56] windlaiden at gmail dot com
I have a user session which only works on the localhost. The session
value gets
disappeared when i access over the network. I am doubting whether it is
a server
configuration problem.
Did any one face such a problem? If you have a solution I am very much
in need.
------------------------------------------------------------------------
[2010-09-29 17:30:16] [email protected]
This issue, as originally reported, was due to an IIS CGI bug described
here:
http://support.microsoft.com/kb/q176113/
------------------------------------------------------------------------
[2010-09-29 11:26:06] derik at igroup dot co dot za
I have exactly the same issue but not in all the browsers. Only Safari
and Internet Explorer causes the sessions to disappear. All the other
browsers works seamlessly.
I have tried everything mentioned in this thread to try and solve my
redirect and AWOL sessions issue but without any luck.
Running a Centos server with latest php and apache installed. I'm
thinking of just scraping the sessions idea and do a entry in a tmp
table in my db.
------------------------------------------------------------------------
[2004-08-12 10:27:37] venky at netkode dot com
Hi,
As i said earlier i have login page which registers session variables
and go to the login area where check.php will check for the session
variables. Here i compare old session id stored in session variable with
session_id(). but here initially stored sessionid and session_id() were
not equal. It means browser is generating new id after redirected. Could
anyone help me in work around for this.
I am desperately waiting for help over this.
------------------------------------------------------------------------
[2004-08-10 17:49:42] mhdskr at yahoo dot com
I faced exactly the same problem : (USING W2K-IIS5/PHP4.3.7)
I take the login username and password and store it in the session and
then redirect to another page .. The first time I reach there the
session is not set. I hit browser back and re enter the login
information it works fine
The first login page contains html only - no php
I start the session in the second page that checks the login and
redirect to the third page
MY SOLUTION - it worked for me in this way! :
I added the following to the first (html-only) page :
<?php
session_start();
?>
Isn't it strange ?!?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=14636
--
Edit this bug report at http://bugs.php.net/bug.php?id=14636&edit=1