| Maintaining State
HTTP is stateless
Every transition is unique with no history.
Need to maintain state to make dynamic pages
WOApplication and WOSession provide persistance by storeing variables
WOApplication
Your application class inherits from WOApplication
Values persist while ever application is running
Correct place to put hit count and other application wide state
WOSession
Your session class inherits from WOSession
Values persist while you are running the current session
Anything you want to persist outside session must be stored in a database
Page updated
August 17, 2004
|