View Single Post
  #3  
Old 12-27-2012, 01:29 PM
imohsen imohsen is offline
New Member
 
Join Date: Dec 2012
Posts: 9
Quote:
Originally Posted by LowKey View Post
Hello,

Successful enable LiteSpeed Cache, but i'm having one problem with the phpfox website.

After i'm added RewriteRule cache .htacesss

RewriteRule (.*\.php)?$ - [L,E=Cache-Control:max-age=120]

The server seems very fast and cache is working, but one problem is the session user changed to another user. Which mean i'm as administrator/admin change to another user. (Session ID changing)
I'm don't know, why this happen?

I'm disable cache by commented out # on .htaccess.

It's back to normal,but no cache apply from LiteSpeed.

Hope LiteSpeed Staff can look at my issue.

Here my cache setting on LiteSpeed

Storage Path /dev/shm/lsdiskcache
Max Object Size Not Set

Enable Cache No
Cache Expire Time (seconds) Not Set
Cache Request with Query String Yes
Cache Request with Cookie Yes
Cache Response with Cookie Yes
Ignore Request Cache-Control Yes
Ignore Response Cache-Control Yes
Enable Private Cache No
Private Cache Expire Time (seconds) 120

Note : I'm applying LiteSpeed with PHPFox.

Thanks.

in some of softwares that based on cookies this options may cause some weired problems .
so set it to no and take a shot !

Quote:
Cache Request with Cookie Yes
Cache Response with Cookie Yes
Reply With Quote