RE: [PHP] supersession
| From: | Michael Sweeney | Date: | Fri, 28 Jun 2002 20:38:52 +0000 |
| Subject: | RE: [PHP] supersession | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104426@lists.php.net to get a copy of this message | ||
Depending on what data you need to have in these variables, you might be
able to set them as environment variables through apache (that is, _if_
you're running apache, _if_ you have access to the configuration file,
_if_ mod_env is installed, etc). I'm guessing that wouldn't be a
flexible enough alternative for you, but it might be worth considering.
..michael..
On Fri, 2002-06-28 at 13:19, Jay Blanchard wrote:
> [snip]
> Perhaps something of this nature is already available and I don't know
> about it, but in the scope of the current project I am working on it
> would be beneficial to take the concept of superglobals and apply it to
> sessions. That is, to be able to register a session-style variable in
> which all instances of the script and/or server to access. I know it is
> possible to use a database or write a file to keep track of such an
> item, but it would be nice to have this feature built in to php.
> [/snip]
>
> I know what you mean. I have written a file that was included on every page
> instance that had the session start function with all of the registered
> session variables and included the database connections as well. Not as neat
> as a supersession function you speak of, but workable.
>
> Jay
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php