Re: [PHP] SESSION wierdness....

2003-11-20 Thread Rob Burris
David HM Spector wrote: I am writing a multi-page form, on the first page I session_register() a mess of variables (8 of them), the first time through the form everything works as expected, I can get things out of form variables and into relevant the $_SESSION variables. Items are put into

Re: [PHP] SESSION wierdness....

2003-11-20 Thread Jason Wong
On Thursday 20 November 2003 14:34, David HM Spector wrote: > I'm seeing really odd behavior using session variables and wonder if > I'm really just missing something obvious... > > My env is: RH9, httpd-2.0.40-21.5, PHP 4.2.2 (RH RPM, gazillion > compile flags enabled), session support enabled, r

[PHP] SESSION wierdness....

2003-11-19 Thread David HM Spector
I'm seeing really odd behavior using session variables and wonder if I'm really just missing something obvious... My env is: RH9, httpd-2.0.40-21.5, PHP 4.2.2 (RH RPM, gazillion compile flags enabled), session support enabled, register_globals is ON I am writing a multi-page form, on the fir

Re: [PHP] Session wierdness...

2003-01-16 Thread Jason Wong
Original Message- > > From: Duncan Abbott [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, 16 January 2003 4:53 AM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: RE: [PHP] Session wierdness... > > > > > > I did what you suggested and I've att

RE: [PHP] Session wierdness...

2003-01-15 Thread Timothy Hitchens \(HiTCHO\)
3 4:53 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PHP] Session wierdness... > > > I did what you suggested and I've attached the output - > there's no $_SESSIONS array in there. > > But I've managed to register session vars outside of th

RE: [PHP] Session wierdness...

2003-01-15 Thread Duncan Abbott
[mailto:[EMAIL PROTECTED]] Sent: 13 January 2003 10:04 To: 'Duncan Abbott'; [EMAIL PROTECTED] Subject: RE: [PHP] Session wierdness... Do this for me: print_r($GLOBALS); and see if you have the $_SESSIONS array visible.. you will need to view the output in a text editor as the prin

[PHP] Session wierdness

2003-01-13 Thread Duncan Abbott
I can't seem to be able to set a session var from within a function in an include file I have a call to a function at the top of my doc (but after session_start()) and if I write the line: $_SESSION['userData'] = test1; in the function body - it does nothing... ... but if I put this statement

RE: [PHP] Session wierdness...

2003-01-13 Thread Timothy Hitchens \(HiTCHO\)
Message- > From: Duncan Abbott [mailto:[EMAIL PROTECTED]] > Sent: Monday, 13 January 2003 1:05 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Session wierdness... > > > I can't seem to be able to set a session var from within a > function in an include file &g

[PHP] Session wierdness...

2003-01-13 Thread Duncan Abbott
I can't seem to be able to set a session var from within a function in an include file I have a call to a function at the top of my doc (but after session_start()) and if I write the line: $_SESSION['userData'] = test1; in the function body - it does nothing... ... but if I put this statement

Fw: [PHP] Session wierdness

2002-06-18 Thread Kevin Stone
tart(); See if you can pinpoint where the you're losing the data. -Kevn - Original Message - From: "Rob Walls" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 11:29 AM Subject: [PHP] Session wierdness > Is it possible to use PHP

[PHP] Session wierdness

2002-06-18 Thread Rob Walls
Is it possible to use PHP sessions reliably? I get very inconsistent results. I register session vars after a password check. I use session_start at the top of every file. I watch the /tmp directory for session files. Within a few random page transitions the session data inside the registered vari