Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top