Theseekers
Technical User
Hello every1,
I am fairly new to php and ran into a problem that I don't have a solution. I hope that someone in this forum can help me out here.
I am working on a login module for a web application that run on iis5, win2k along with ie 6. My php version is 4.3.7. My module has 3 pages (login, welcome, and logout)
The problem is that everytime I run this from the login.php:
Header ("location:
the script welcome.php is called but the information was not passed to it (btw, I am using session to pass thing around). I checked the location of the session cookies are safe and they are there (e.g. sess_2ada2343....). I also notice that there is another session id with 0KB, and I think this is the one that welcome.php uses to fill in the blank on my print statements. The reason I know this is on my logout page; I killed the session and this is the one that system deleted.
Another twist to this is when I replace the header with a regular href with the same path and file; the darn thing works as expected.
Can any 1 in here help me to understand why the header function behave like the way it did here. I really want to implement as much automation as possible for the app.
TIA
I am fairly new to php and ran into a problem that I don't have a solution. I hope that someone in this forum can help me out here.
I am working on a login module for a web application that run on iis5, win2k along with ie 6. My php version is 4.3.7. My module has 3 pages (login, welcome, and logout)
The problem is that everytime I run this from the login.php:
Header ("location:
the script welcome.php is called but the information was not passed to it (btw, I am using session to pass thing around). I checked the location of the session cookies are safe and they are there (e.g. sess_2ada2343....). I also notice that there is another session id with 0KB, and I think this is the one that welcome.php uses to fill in the blank on my print statements. The reason I know this is on my logout page; I killed the session and this is the one that system deleted.
Another twist to this is when I replace the header with a regular href with the same path and file; the darn thing works as expected.
Can any 1 in here help me to understand why the header function behave like the way it did here. I really want to implement as much automation as possible for the app.
TIA