Table of Contents
Previous Section
WOApplication includes two methods for explicitly collecting and removing all of a session's state from the application:
- registerMe
{
//... process data...
[WOApp terminateSession];
}
- awake
{
// Time out sessions that have been inactive for more than 2 minutes
[WOApp setSessionTimeOut:120];
}
You can use these methods to control the size of your process and thereby improve your application's performance. For more information, see the class specification for WOApplication.