By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,326 Members | 2,726 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,326 IT Pros & Developers. It's quick & easy.

HTTP expire

P: n/a
I want to cashe database driven forum, but SESSION is used for passing
userID. When I use code below offline browsing is ok, but session variable
is difrent on cashed pages. Some pages stored gost id some admin. How can i
solve this.


header("Cache-control: private");
header("Content-Type: text/plain");
header("Pragma: public");

<!-- SADRŽAJ -->
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.