Re: Setting a global variable
| From: | CPT John W. Holmes | Date: | Tue, 20 May 2003 19:27:34 +0000 |
| Subject: | Re: Setting a global variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148310@lists.php.net to get a copy of this message | ||
> Is there a way to set a PHP variable the first time a user enters a
website
> that will remain global throughout the entire site but does not use
> sessions? It also does not depend on which page the user loads first
(home
> page or some other page from the web site)
Maybe use an auto_prepend page to set a cookie?
Just a hunch here, but you may want state what your problem is... what
you're trying to solve by using this method. There may be a better way
overall to accomplish what you want.
---John Holmes...