Table of Contents Previous Section
Another strategy for managing session state is to create it at the beginning of the request-response loop and then release at the end. WOSession's awake and sleep methods provide the hooks you need to implement this strategy. A session object receives an awake message at the beginning of the request-response loop (where you could reinitialize the session state) and a sleep message at the end (where you could release it).