no-cache

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
DGW
Forum Newbie
Posts: 5
Joined: Mon Jul 21, 2003 2:06 pm

no-cache

Post by DGW »

Hi, I've previously asked about when logging out of a page in Internet Explorer and then pressing the BACK button, one would get a page has expired type page and I've gotten that to work. However, if I press the BACK button's drop down menu to go back more than 1 page, I won't get a page has expired warning and in fact, I am still able to see the cached page. Any ideas how to fix this?

Thanks
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

headers.


look up caching and headers in googlee after checking the function at php.net. i don't know them all
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

As I said in my last post, whe you asked before, in some cases its impossible. Some browsers will _NEVER_ requery on forward/backrequests.
oldtimer
Forum Contributor
Posts: 204
Joined: Sun Nov 03, 2002 8:21 pm
Location: Washington State

Post by oldtimer »

I use


ob_start();

ob_end_flush();

and that helps. I just wrap them around my start_session();
Post Reply