Page 1 of 1

Sessions do not work on one of my hosts, but fine on others

Posted: Sun Feb 16, 2003 2:15 am
by 3dron
What do I ask of the host service that doesn't work? Phpinfo reports they are on 4.0.6.

Can I tell them to enable something?

Ron

P.S. I know it's them because same exact PHP page works fine on other host sites. And it has nothing to do with abbrev. $_session command or enabling global.

Posted: Sun Feb 16, 2003 3:29 am
by Takuma
$_SESSION would not work on that host because the version of PHP is not 4.1+. Use $HTTP_SESSION_VARS.

Posted: Sun Feb 16, 2003 11:16 am
by 3dron
I use $HTTP_SESSION_VARS and it doesn't work. I said it had nothing to do with that.

Please any other info.

Posted: Mon Feb 17, 2003 2:47 am
by twigletmac
Ask your host to upgrade to a newer version of PHP.

Or start using session_register() and stop trying to use $HTTP_SESSION_VARS or $_SESSION.

Mac

Posted: Mon Feb 17, 2003 2:57 am
by twigletmac