I'm using nocache headers to tell a Content Delivery Network (CDN) to not cache the page, but every page request generates a new ColdFusion session ID. So I cannot persist session variables!

If I bypass the CDN, the session is unique per browser on my machine - and will work as normal.

I want to see if the CDN company can do anything to help this situation, but I can't find out how ColdFusion decides to create a new session ID. I suspect the CDN is generating something unique each time, but don't know what.

Any thoughts?

Thanks

有帮助吗?

解决方案

ColdFusion writes a CFTOKEN and CFID cookie (or poss a JSESSIONID one, depending on your session setings). Those identify your sessions.

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