Wednesday, November 5, 2008

All about scope

Request
Page
Session
Application

If you have a request scope, it will only run for the request that is made on that same moment.
If you have a page scope, the parameters and values will run for that page the whole time until the server is restarted.
If you have a session scope, all the values will be kept for until the clients session is destroyed.
And least the application scope, if you apply the application scope, the values will be kept for the entire application, until the server is restarted.