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

[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