MyBB Community Forums

Full Version: Cookie problems with higher GZIP compression
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I tried to set GZIP compression in my forum up to 6. After doing this, I had severe problems logging in and out.
After managing to log into ACP and resetting it to 4, everything was fine again.
Why?
actually cookies should not be affected by gZip compression level.
basically php files are affected. in general, we suggest to use medium level
of gZip compression
as higher levels certainly affect MyBB source files / plugin files
I returned it back to normal (4), but now I´m having issues even with this setting.
My main page always shows as if not being logged in. As soon as I click on a thread, my welcomeblock changes etc.
Also in ACP some sites stay the same, when clicking on them.
thunderbirdclub.de/forum

Who is online? also won´t change what it displays. However, the div at the bottom of my starting page is correct.
try clearing your browser cookies (link available here), close your browser, reopen it & check login process again

Edit: you may also have to clear your browser cache .. or try using another browser
Unfortunately still the same.

Also tried another browser and cleared cache.
Anything else that might be responsible for this?

Edit: seems to be resolved now.
Are you still having issues now? I'm able to log in and stay logged in.
No issues anymore. 
Maybe something with my provider (DNS or so)? I´m no expert.

I also had added this to my .htaccess file:
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 year"
ExpiresByType text/x-javascript "access 3 month"
ExpiresByType application/x-shockwave-flash "access 3 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 10 days"
</IfModule>
## EXPIRES CACHING ##
 and turned ETags off. Which was both a advice from this website.
Might that cause this type of issues?
^ those cache rules should have no affect on login process & cookie setting !
(2016-11-09, 12:35 PM)OlDirty Wrote: [ -> ]I tried to set GZIP compression in my forum up to 6. After doing this, I had severe problems logging in and out.
After managing to log into ACP and resetting it to 4, everything was fine again.
Why?

Important is not the file extension, but how the server handles the files. Images – no matter what format – will not be compressed with this setting. This wouldn’t make sense, because all image types already use compression in one way or the other. And these compression methods are much more effective in handling bitmaps (image data).
So you´d say, one could also disable compression without having any downside?
Pages: 1 2