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

RE: [PHP] Help with Sessions

2003-02-28 Thread Poon, Kelvin (Infomart)
Thanks everyone! it worked fine now! -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:58 AM To: Poon, Kelvin (Infomart) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] Help with Sessions Hi, Saturday, March 1, 2003, 1:54:24 AM, you

Re: [PHP] Help with Sessions

2003-02-28 Thread Tom Rogers
Hi, Saturday, March 1, 2003, 1:54:24 AM, you wrote: PKI> Hi PKI> I just have a little problem with sessions. PKI> my code: PKI> PKI> TEST PKI> PKI> PKI> session_start(); PKI> if ($submit) { PKI> echo 'Hello '.$_SESSION['ID']; PKI> } else { PKI> $_SESSION['ID']=2; PKI> echo "\n"; PKI>

Re: [PHP] Help with Sessions - Should be easy =]

2001-12-20 Thread Michael Sims
At 01:53 AM 12/21/2001 +1100, Tomasz Jachimczak wrote: >I am retreiving user information from a database after verification, and >would like to place certain feilds into a session variable for easy >access/retreival. I can get the information out of the database, but cannot >place it into any sort