Commit ec399fd13444cbd9d056c57670e78132fc447cd4

Authored by Neil Blakey-Milner
1 parent a5567d12

Use session_cache_limiter of private, rather than public, to ensure that

pages aren't cached.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4695 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
lib/session/Session.inc
@@ -109,7 +109,7 @@ class Session { @@ -109,7 +109,7 @@ class Session {
109 function verify($bDownload = false) { 109 function verify($bDownload = false) {
110 global $default, $lang_sesstimeout, $lang_sessinuse, $lang_err_sess_notvalid; 110 global $default, $lang_sesstimeout, $lang_sessinuse, $lang_err_sess_notvalid;
111 // this is a workaround for an SSL download bug with IE. 111 // this is a workaround for an SSL download bug with IE.
112 - session_cache_limiter('public'); 112 + session_cache_limiter('private');
113 session_start(); 113 session_start();
114 $sessionID = session_id(); 114 $sessionID = session_id();
115 if (strlen($sessionID) > 0) { 115 if (strlen($sessionID) > 0) {