ShowTable of Contents
Place data into a variable
sessionScope.put("key", "some string value");
var a = new Array();
var v = sessionscope.get("key");
Are visible for all users of one application. Expires some time after the last user used an applicationScope variable.
That means applicationScope variables are NOT persistent forever. But they can be used for caching stuff for all users.
Is valid through the session of the current user. A user session expires after some time of inactivity. Uses don't have access to the sessionScope variables of other users.
Is valid through one request of the current user. That includes refreshing of a page.
Is visible for views on the current page only. Useful for transporting a search query to a view.