Hi everyone,
We're looking at cleaning up our legacy session handling code used by our websites. I just wanted to ask the community if they have any specific recommendations for best practices regarding how to manage the session key, session variables, and session timeouts on your websites.
I've taken a look at the documents in the "Web API Documentation" for v9.0, so I'm looking for advice that goes beyond what is covered there.
Thanks!
Darrin Katz Programmer/Analyst
Soulpepper Theatre CompanyT 416.203.6264 x.182F 416.203.1531W soulpepper.ca
Young Centre for the Performing ArtsDistillery Historic DistrictBox Office 416.866.8666
Hi Darrin,
I'm not sure I understand exactly what your situation is. But as a general rule, the more you can store/cache on the web server's end, the better. The fewer calls you need to make back to the API server, the faster your site will run.
-Morgan
Darrin, I agree with Morgan. We store session variables ont he web server. This way it is much quicker to access and is less problematic than storing it all in cookies.
Christian