I just started with a service provider who's giving me a server to put
my scripts. I noticed when I copy scripts that work on my machine to
this server, all things $_SESSION are null. I read some on php.net and
found that session_autosta rt has to be set to true in order for me to
use $_SESSION variables at all. Am I reading that right? Obviously, I
have no control over this setting on someone else's server so I cannot
change it. Is this why my $_SESSION values are all null? Is there a
workaround? I tried putting session_start() ; at the very beginning of
the first script. No change.
Thanks in advance,
Jeff Sandler
my scripts. I noticed when I copy scripts that work on my machine to
this server, all things $_SESSION are null. I read some on php.net and
found that session_autosta rt has to be set to true in order for me to
use $_SESSION variables at all. Am I reading that right? Obviously, I
have no control over this setting on someone else's server so I cannot
change it. Is this why my $_SESSION values are all null? Is there a
workaround? I tried putting session_start() ; at the very beginning of
the first script. No change.
Thanks in advance,
Jeff Sandler
Comment