Sun Java System Web Server 7.0 Update 2 Developer's Guide to Java Web Applications

session-manager Element

Specifies session manager information.


Note –

As of Web Server, you cannot define a session manager either for a single sign-on session or for a virtual server. You must define session managers at the level of web applications.


Subelements

The following table describes subelements for the session-manager element.

Table A–10 session-manager Subelements

Element 

Required 

Description 

manager-properties Element

zero or one 

Specifies session manager properties. 

store-properties Element

zero or one 

Specifies session persistence (storage) properties. 

Attribute

The following table describes the persistence-type attribute for the session-manager element. The left column lists the attribute name, the middle column indicates the default value, and the right column describes what the attribute does.

Table A–11 session-manager Attribute

Attribute 

Default Value 

Description 

persistence-type

memory

(Optional) Specifies the session persistence mechanism. Allowed values are memory, file, s1ws60, and mmap.

Setting the value of persistence type to memory is equivalent to using Web Server’s IWS60 without any store.

Setting the value of persistence type to file is equivalent to using Web Server’s IWS60 with FileStore.