I am trying to set Expire header to 2 hours from access for text/html by using mod_expires like that:
<IfModule mod_expires.c>
   ExpiresActive on
   ExpiresDefault "access plus 2 hours"
   E开发者_高级运维xpiresByType text/html "access plus 2 hours"
</IfModule>
However when used with PHP:
session_start();
Expires header is being reset to:
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Any ideas how to avoid that overwrite by session_start()?
OK, looks like have found an answer:
session_cache_limiter('public');
session_start();
does the trick, thanks.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论