[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] SF.net SVN: squirrelmail:[13944]
From: pdontthink () users ! sourceforge ! net
Date: 2010-06-20 23:52:54
Message-ID: E1OQUJq-00019t-6o () sfp-svn-4 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 13944
http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13944&view=rev
Author: pdontthink
Date: 2010-06-20 23:52:53 +0000 (Sun, 20 Jun 2010)
Log Message:
-----------
Synchronize cache control headers for all pages that send them
Modified Paths:
--------------
branches/SM-1_4-STABLE/squirrelmail/src/login.php
branches/SM-1_4-STABLE/squirrelmail/src/mailto.php
branches/SM-1_4-STABLE/squirrelmail/src/redirect.php
Modified: branches/SM-1_4-STABLE/squirrelmail/src/login.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/login.php 2010-06-20 17:14:41 UTC (rev \
13943)
+++ branches/SM-1_4-STABLE/squirrelmail/src/login.php 2010-06-20 23:52:53 UTC (rev \
13944) @@ -110,7 +110,11 @@
sqsession_register($sep, 'session_expired_post');
}
+// Disable Browser Caching
+//
+header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
+header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
do_hook('login_cookie');
Modified: branches/SM-1_4-STABLE/squirrelmail/src/mailto.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/mailto.php 2010-06-20 17:14:41 UTC (rev \
13943)
+++ branches/SM-1_4-STABLE/squirrelmail/src/mailto.php 2010-06-20 23:52:53 UTC (rev \
13944) @@ -68,7 +68,11 @@
$compose_only = FALSE;
+// Disable Browser Caching
+//
+header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
+header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
$trtable = array('cc' => 'cc',
'bcc' => 'bcc',
Modified: branches/SM-1_4-STABLE/squirrelmail/src/redirect.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/redirect.php 2010-06-20 17:14:41 UTC (rev \
13943)
+++ branches/SM-1_4-STABLE/squirrelmail/src/redirect.php 2010-06-20 23:52:53 UTC (rev \
13944) @@ -30,7 +30,11 @@
require_once(SM_PATH . 'functions/constants.php');
require_once(SM_PATH . 'functions/page_header.php');
+// Disable Browser Caching
+//
+header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
+header('Expires: ' . gmdate(DATE_RFC1123, time()-1));
$location = get_location();
sqsession_is_active();
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic