Raises information about the state of a state in a session, so after the destruction of a session, the state associated with this session disappears.
During the session, Lift tracks every page that the state is highlighted on (for example, a mapping between the ajax button in the browser and the function on the server), and you have a heartbeat in the browser. Functions for pages that have not seen a heartbeat for 10 minutes are not displayed, so the JVM can collect them. All this is customizable, so you can change the heart rate, life expectancy, etc., but in practice, the default work very well.
In terms of a blast session, yes ... this is a secondary issue. Popular sites (including http://demo.liftweb.net/ ) experience this. The sample code (see http://github.com/lift/lift/tree/master/examples/example/ ) defines the sessions created by a single request and then is abandoned and expires earlier. I run demo.liftweb.net with a size of 256 MB heap (which would fit in a 512 MB VPS), and sometimes the number of sessions increased by more than 1000, but it quickly decreased for search engine traffic.
David pollak
source share