RE: Session Problems
| From: | Bob Horton | Date: | Wed, 05 Jul 2000 05:52:42 +0000 |
| Subject: | RE: Session Problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4872@lists.php.net to get a copy of this message | ||
Hi,
I can't figure out why my sessions aren't working right. I'm using PHP
4.0.0 under Apache as a module on RedHat 6.2
I had 2 pages and the session was going back and forth between them
perfectly. Then I added a login form with a script to test the userid and
password and set the previously hard coded user_id variable (registered in
the session) to the current user_id. How easy could it be!
I remove the hard coded user_id from the two pages and I put in a login page
that calls another script DOLOGIN.HTML DoLogin checks the User_Id and
Password and then does an INCLUDE of the first screen of the app.
Looks like it worked perfectly except that everything I click on to take me
to the second screen causes the Login test to jump back to the login form as
if there is no variable set!
So I check. There aren't any variables set. They all show up like they're
registered but no values are stored!
Any ideas would be really appreciated!
Thanks.
P.S. If you could please CC me directly as well so I get the reply faster I
would appreciate it!
*******************************************
* Bob Horton - PneumaSoft Inc
* Custom Software Development Services
*
* Ph: (306) 949-5610 Fax: (306) 924-5326
* bhorton@pneumasoft.com ICQ: 32058710
*******************************************