Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- session variable problem with PHP
October 26, 2004, 8:55 am
rate this thread
It sets $_SESSION variables that are used in other pages.
The script works fine on my server that runs Apache2 and PHP 5.0.1.
But when I move the scrip to my hosting company that runs , IIS and
PHP5.0.2, they don't work. It seems that its not able to set the
session variable to read the session variable in the next page.
What should I be checking ? Has anybody faces this situation before ?
COuld you please help ?
Re: session variable problem with PHP
I'd check that I was getting a session cookie from the server (you can
configure & most webservers to automatically prepend some output to the web
page which might interfere with your headers). If that's working then try a
different session handler (maybe issues with permissions on location for
storing sessions between pages)