2017-03-20 3 views
0

ich aktiv mod_expires.c mit dieser Konfiguration:mod_expires.c Ursache Sitzung Probleme

## EXPIRES CACHING ## 
<IfModule mod_expires.c> 
ExpiresActive On 
ExpiresByType image/jpg "access plus 1 month" 
ExpiresByType image/jpeg "access plus 1 month" 
ExpiresByType image/gif "access plus 1 month" 
ExpiresByType image/png "access plus 1 month" 
ExpiresByType text/css "access plus 1 year" 
ExpiresByType appliction/x-javascript "access plus 1 year" 
ExpiresByType text/javascript "access plus 1 year" 
ExpiresByType application/javascript "access plus 1 year" 
ExpiresByType application/pdf "access plus 1 week" 
ExpiresByType application/x-shockwave-flash "access plus 1 month" 
ExpiresByType image/x-icon "access plus 1 year" 
ExpiresDefault "access plus 1 day" 
</IfModule> 
## EXPIRES CACHING ## 

Es funktioniert sehr gut, alles ist catched in Ordnung. Jedoch, seit seiner aktiven einige Kunden sagte mir, dass sie ein anderes Konto von einem anderen Kunden, wenn sie sich einloggen. Ich kann nicht reproduzieren den Fehler in meinem PC Login funktioniert völlig in Ordnung.

Wer hat eine Ahnung? Dank

Antwort

0

Versuchen Sie dies am Ende der .htaccess:

<filesMatch "\.(php)$"> 
    ExpiresActive Off 
</filesMatch> 
+0

Danke für Ihre Antwort, aber wie zum Teufel eines Client-Browser PHP-Dateien zwischenspeichern kann? –

Verwandte Themen