GZIP .htaccess and php session problem

Posted by Suresh on Stack Overflow See other posts from Stack Overflow or by Suresh
Published on 2010-05-06T05:45:33Z Indexed on 2010/05/06 5:58 UTC
Read the original article Hit count: 207

Filed under:
|
|
|

Hi, I am trying to implement GZIP compression for my website. I copied the below code in my .htaccess file:

ExpiresActive On  
ExpiresDefault A604800  
Header append Cache-Control "public"  

<IfModule mod_deflate.c>  
<FilesMatch "\.(js|css)$">  
SetOutputFilter DEFLATE  
</FilesMatch>  
</IfModule>

what happens is when I type username and password the page reloads but still the login form is displayed but session is set. When I refresh the page using ctrl + R the login form goes and the username is displayed. what will be the problem. wwaiting for ur reply.

© Stack Overflow or respective owner

Related posts about php

Related posts about gzip