I am currently remaking the backend infrastructure of my employer's ticketing site, so I've been studying how the website may use various Tessitura Web API methods to consistently maintain a session. Based on my (limited) experience, I have come up with some guidelines for how each page should handle the Tessitura Web API session, authentication, and cart. I would like to post them here so that they may help others, but also especially so that others may critique my process and offer ideas for improvement.
Every page on the site should handle the session as follows:
GetNewSessionKeyEx()
UpdateLastAccessTime()
LoginEx2()
GetCart()
TransferSession()
If the above procedures are implemented using browser sessions, then each browser session will potentially have the following variables: