I have implemented Refinery CMS into a website that I am building. I an running it on webrick at the moment and I seem to get logged a lot. It seems to be every 15 minutes.

Has anyone experienced this at all and aware of what the issue could be?

Cheers

Tony

有帮助吗?

解决方案

I figured out the problem. Some other people might experience this.

I was making periodic ajax requests from the main site itself without sending the CRSF token. This was killing any logged in sessions. I simply added the CRSF token to ajax requests and it stopped logging people out.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top