This is a discussion on Session variables contain no values within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi everybody. I'm experiencing strange problems with PHP session files: a user submits a form with UID and PWD. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi everybody.
I'm experiencing strange problems with PHP session files: a user submits a form with UID and PWD. The next page checks these credentials, opens a session if successful, registers certain variables and then redirects to the first application page. **snip** // logon.php, receives UID/PWD if ($query_ok) { session_start(); // register certain variables session_write_close(); //redirect to Lounge header ("Location: ./start.php?".SID); } **snap** The start.php obviously receives a valid session variable PHPSESSID (visible in the browser's address bar), the file to which also exists in the /tmp directory. The variables are also registered in this file, however they CONTAIN NO VALUES, not one of them !! Can anybody help ? Thanks, Harald |
![]() |
| Thread Tools | |
| Display Modes | |
|
|