mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
remove Expires header from egw_session::cache_control(true), so have same behavior as session_cache_limiter("private_no_expire")
This commit is contained in:
parent
60e3037bf8
commit
a7724dc6e5
@ -1690,9 +1690,10 @@ class egw_session
|
||||
error_log(__METHOD__."($expire) called, but header already sent in $file: $line");
|
||||
return;
|
||||
}
|
||||
if($expire === true)
|
||||
if($expire === true) // same behavior as session_cache_limiter('private_no_expire')
|
||||
{
|
||||
header('Cache-Control: private, max-age='.(60*session_cache_expire()));
|
||||
header_remove('Expires');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user