I'm having a bad day with sessions which hopefully someone can help me with.
A user logs in to my 'site' (script1.php) and I store relevant details in a
session, all fine. I redirect to another page (script2.php) which checks and
retrieves certain session values, all fine. My problem is with
On Thursday 14 October 2004 17:35, Graham Cossey wrote:
A user logs in to my 'site' (script1.php) and I store relevant details in a
session, all fine. I redirect to another page (script2.php) which checks
and retrieves certain session values, all fine. My problem is with
script3.php which
Graham Cossey wrote:
I'm having a bad day with sessions which hopefully someone can help me with.
A user logs in to my 'site' (script1.php) and I store relevant details in a
session, all fine. I redirect to another page (script2.php) which checks and
retrieves certain session values, all fine. My
--- Jason Wong [EMAIL PROTECTED] wrote:
Use an absolute URL for header redirects.
Glad to see someone else preaching the good HTTP gospel. :-)
You're passing the session id (SID) onto script2 but not to
script3, if that's the only method by which you're propagating
the session id then
--- John Holmes [EMAIL PROTECTED] wrote:
header('Location: http://www.example.org/script2.php?.SID);
He is human after all. :-)
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly HTTP Developer's Handbook - Sams
Coming December 2004http://httphandbook.org/
No
I think it's more likely that one of his tentacles slipped
Chris Shiflett wrote:
--- John Holmes [EMAIL PROTECTED] wrote:
header('Location: http://www.example.org/script2.php?.SID);
He is human after all. :-)
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly HTTP
Shiflett [mailto:[EMAIL PROTECTED]
Sent: 14 October 2004 11:03
To: Jason Wong; [EMAIL PROTECTED]
Subject: Re: [PHP] Help with sessions problem please
--- Jason Wong [EMAIL PROTECTED] wrote:
Use an absolute URL for header redirects.
Glad to see someone else preaching the good HTTP gospel
Chris Shiflett wrote:
--- John Holmes [EMAIL PROTECTED] wrote:
header('Location: http://www.example.org/script2.php?.SID);
He is human after all. :-)
That's just a rumour' I started...
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for
8 matches
Mail list logo