I am using a script called web2print (hotscripts.com) to create printer friendly pages of a website. Whenever I submit to that script, my PHP session variables dissappear. The session itself is still alive, the session id stays the same. Just the session varibables disappear.
That’s interesting. You sure those variables are not being unset after the submission. I have never worked with the script your talking about, but if the session is still actually there, and variables are missing, they have got to be unset somewhere.
Probably because you’re either not carrying over the session via session_start() on the web2print pages; or, you call a stray session_destroy() on one of the web2print pages; or, if you are using register_globals, it’s possible there is a PHP setting in web2print that is not using register_globals
2 Comments