[Rejected] Cookie problems with higher GZIP compression
#1
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?
Reply
#2
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
Reply
#3
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.


Attached Files Thumbnail(s)
   
Reply
#4
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
Reply
#5
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.
Reply
#6
Are you still having issues now? I'm able to log in and stay logged in.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#7
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?
Reply
#8
^ those cache rules should have no affect on login process & cookie setting !
Reply
#9
(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).
Reply
#10
So you´d say, one could also disable compression without having any downside?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)