openlitespeed + wordpress + cache = no php?

#1
Hello,

I have ubuntu + openlitespeed + wordpress + cache. If i understand correctly cache gives directly html content without parsing php? I have noticed, that $_COOKIE / $_SESSION / error_log(), do not work if i hit the same link. If i hit new link, then it works..

My question, how then i have to work with $_COOKIE / $_SESSION parameters? I use it for backend tracking.


Thank you.
 

Cold-Egg

Administrator
#2
You can't, it won't launch PHP anymore if the page is cached. Maybe you can try ajax call to call a non-cache URI to send these data.
 
Top