Re: persistent storage in PHP
| From: | Wendell Brown | Date: | Wed, 07 May 2003 22:39:27 +0000 |
| Subject: | Re: persistent storage in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146749@lists.php.net to get a copy of this message | ||
On 07 May 2003 18:34:06 -0400, Greg Stark wrote:
>How do I cache data persistently across page calls? As near as I can tell all
>the variable scopes in PHP terminate at the end of a page and the next page
>starts with a clean slate.
If you are dealing with forms, you can "store" data in hidden fields.
Otherwise you might want to look into sessions.
http://www.php.net/manual/en/ref.session.php