Deviant Logo

Why am I loosing PHP session variables with web2print?

post details top
Jun 6th, 2010
post details top


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.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

2 Comments

  • TimMan79

    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.

    I am sure you thought of this though.

  • dhvrm

    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

Leave a Reply

Search

  • Partner links