Commit a01482b61a31ed217c7aacd03d84d63265a34deb

Authored by Neil Blakey-Milner
1 parent 8b575c19

Manually control cacheability outside of the session management to avoid

treading on divergent behaviour in various different Internet Explorer
versions.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4701 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 3 additions and 1 deletions
lib/session/Session.inc
... ... @@ -109,8 +109,10 @@ class Session {
109 109 function verify($bDownload = false) {
110 110 global $default, $lang_sesstimeout, $lang_sessinuse, $lang_err_sess_notvalid;
111 111 // this is a workaround for an SSL download bug with IE.
112   - session_cache_limiter('private');
  112 + session_cache_limiter('none');
113 113 session_start();
  114 + header("Cache-Control: must-revalidate");
  115 + header("Expires: " . gmdate("D, d M Y H:i:s", time() - 3600) . " GMT");
114 116 $sessionID = session_id();
115 117 if (strlen($sessionID) > 0) {
116 118 // initialise return status
... ...