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
Darrin, I’m not sure if this is what you are looking for, but there is a new procedure in version 9 called UP_CLEAR_WEB_TABLES. This is an optional utility which will remove data from the web tables which may be old or out of date. This may be desirable particularly if there is a large volume of web sales as the web tables can become quite large. I would suggest you take a look at the Version 9.0 Highlights documentation and in particular the section entitled ‘Utility to Clear Old Data from Web Tables’ which documents this procedure.
Gregg
Gregg Stickney
Application Support Specialist/Manager Knowledgebase
Tessitura Network
www.tessituranetwork.com
gstickney@tessituranetwork.com
+1 (888) 643-5778, ext. 318 (Office)
+1 (330) 835-4507 (Fax)
+1 (216) 469-7533 (Mobile)
+1 (888) 643-5778, ext. 201 (Support Line)
From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Darrin Katz Sent: Tuesday, October 13, 2009 12:52 PM To: Gregg Stickney Subject: [Tessitura Web Forum] API Session Best Practices
Soulpepper Theatre Company T 416.203.6264 x.182 F 416.203.1531 W soulpepper.ca
Young Centre for the Performing Arts Distillery Historic District Box Office 416.866.8666
You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
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