Re: Page Caching after DB Query
| From: | dpgirago at mdanderson dot org | Date: | Thu, 05 Jan 2006 20:01:39 +0000 |
| Subject: | Re: Page Caching after DB Query | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-40976@lists.php.net to get a copy of this message | ||
/* for the archives */
Ah, it's in the manual, isn't it?
I was calling session_start() on the page, so the session.cache_limiter
value of 'nocache' in php.ini was overriding all attempts to cache the
page.
Calling session_cache_limiter('private') before session_start() did the
trick.
David
> How can I force the browser to re-display the last dynamically created
page
> when using the back button, for example, rather than re-issuing the
query.
> Are there any complications because we are using the https protocol on
> Apache?