Hello
I am trying to do a counter for page views that works also when a page has template cache applied, so I am using Ajax to request a certain page (sending also as GET parameter id with the id of the page for which I increment the field views).
I have used this method before, it worked perfectly, but now I cannot make it work... I am getting these problems...
1. The counter page that is accessed through ajax gets a 301 Moved Permanently status, not 200 OK status.
2. It does not get any GET parameters ($input->get->param nor $_GET)...
3. if I access the counter page directly in the browser, it works, I can access the $input->get or $_GET, my "views" field is being incremented, only when accessed with ajax it does not work...
I am using PW 3.0.36.
Please advise,