$_SESSION, autostart

From: Jeff Sandler (ffej2ffej_at_dslextreme.com)
Date: 07/06/04


Date: Tue, 06 Jul 2004 09:02:07 -0700

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_autostart 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



Relevant Pages

  • remote SYSTEM compromise in WASD OpenVMS http server
    ... WASD VMS Hypertext Services is a popular http server for OpenVMS ... - getting the sources of all cgi scripts ...
    (Bugtraq)
  • Re: problem with validated site
    ... server side scripts have drawbacks that must be weighted against their benefits when compared to alternative reliable authoring strategies. ... This has a simple effect with most user agents: Everytime you navigate to a page of the site, it's entirely reloaded. ... For example, it should expand entity references and marked sections (because they're not supported by existing HTML user agents), but shouldn't close omitted tags. ...
    (comp.infosystems.www.authoring.html)
  • SUMMARY: repository for scripts for multiple machines, and multiple users
    ... subversion, cfengine, rdist, rsync, NFS ... I have been messing about with shell scripts to maintain a common base ... regular updates from a central server. ... Highly granular access control is possible with Subversion. ...
    (SunManagers)
  • Re: ASP Sessions
    ... > I've got two different sets of ASP scripts on my server. ... Both sets of scripts use sessions. ... > (I believe they are both using the exact same session). ... If your question is worth asking, ...
    (microsoft.public.inetserver.asp.general)
  • Re: Is someone trying to hack my Web Host?
    ... >>I was looking through the raw log files to see who's visiting my ... "scripts" directory. ... > web server at home connected to the net. ... int main { ...
    (alt.computer.security)