FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Please evaluate my cache-control & pragma etc. code
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Please evaluate my cache-control & pragma etc. code [message #182518] Fri, 09 August 2013 18:22 Go to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma:
Senior Member
Mainly I'm interested in whether it's considered workable/usable.
It doesn't seem to be working on my win 7 XAMPP PHP5.3 Local Server.
The data still seems to exist if/when I "go back" to the preceding page
of an e-mail form.

<?php
session_start();
header('Cache-Control: no-cache, no-store, must-revalidate'); //HTTP/1.1
header('Expires: Sun, 01 Jul 2005 00:00:00 GMT');
header('Pragma: no-cache'); //HTTP/1.0

TIA,

Twayne`
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Counter reset or not?
Next Topic: How to create a user friendly URL with parameters?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 04:21:28 GMT 2024

Total time taken to generate the page: 0.04634 seconds