mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2025-01-16 21:58:33 +01:00
Prevent logout issue after page was cached (#1004)
Logout may not work otherwise, browser reloads cached page from disk instead of sending GET request ?logout=1 to server.
This commit is contained in:
parent
bf024c7c84
commit
6a6eb8abec
@ -222,7 +222,7 @@ if (defined('FM_EMBED')) {
|
||||
mb_regex_encoding('UTF-8');
|
||||
}
|
||||
|
||||
session_cache_limiter('');
|
||||
session_cache_limiter('nocache'); // Prevent logout issue after page was cached
|
||||
session_name(FM_SESSION_ID );
|
||||
function session_error_handling_function($code, $msg, $file, $line) {
|
||||
// Permission denied for default session, try to create a new one
|
||||
|
Loading…
x
Reference in New Issue
Block a user