Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #10471
| From | Twayne <nobody@spamcop.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Please evaluate my cache-control & pragma etc. code |
| Date | 2013-08-09 14:22 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ku3c1n$vc7$1@speranza.aioe.org> (permalink) |
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`
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
Please evaluate my cache-control & pragma etc. code Twayne <nobody@spamcop.net> - 2013-08-09 14:22 -0400
Re: Please evaluate my cache-control & pragma etc. code "J.O. Aho" <user@example.net> - 2013-08-09 22:57 +0200
Re: Please evaluate my cache-control & pragma etc. code Twayne <nobody@spamcop.net> - 2013-08-09 19:12 -0400
Re: Please evaluate my cache-control & pragma etc. code The Natural Philosopher <tnp@invalid.invalid> - 2013-08-10 09:49 +0100
Re: Please evaluate my cache-control & pragma etc. code Twayne <nobody@spamcop.net> - 2013-08-10 13:21 -0400
Re: Please evaluate my cache-control & pragma etc. code Fiver <numeralfive@gmail.com> - 2013-08-10 17:19 +0200
Re: Please evaluate my cache-control & pragma etc. code Twayne <nobody@spamcop.net> - 2013-08-10 13:17 -0400
csiph-web