Sun Java System Web Server 6.1 SP6 Programmer's Guide to Web Applications


The following table describes properties for the store-properties element. The left column lists the property name, the middle column indicates the default value, and the right column describes what the property does.

Table 6–17 store-properties Properties

Property Name  

Default Value  




Specifies the number of seconds between checks for expired sessions for those sessions that are currently swapped out. 

Setting this value lower than the frequency at which session data changes is recommended. For example, this value should be as low as possible (1 second) for a hit counter servlet on a frequently accessed web site, or you could lose the last few hits each time you restart the server. 


directory specified by javax.servlet.context.tempdir context attribute

Specifies the absolute or relative path name of the directory into which individual session files are written. A relative path is relative to the temporary work directory for this web application.