Re: [PHP] Help with sessions problem please

2004-10-14 Thread John Holmes
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

RE: [PHP] Help with sessions problem please [SOLVED]

2004-10-14 Thread Graham Cossey
Chris 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 t

Re: [PHP] Help with sessions problem please

2004-10-14 Thread Chris Dowell
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

Re: [PHP] Help with sessions problem please

2004-10-14 Thread Chris Shiflett
--- 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

Re: [PHP] Help with sessions problem please

2004-10-14 Thread Chris Shiflett
--- 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

Re: [PHP] Help with sessions problem please

2004-10-14 Thread John Holmes
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 p

Re: [PHP] Help with sessions problem please

2004-10-14 Thread Jason Wong
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

[PHP] Help with sessions problem please

2004-10-14 Thread Graham Cossey
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 scri