Roxen Interactive RXML Help

<session></session>

Creates a session bound scope. The session is
identified by a session key, given as an argument to the session tag.
The session key could be e.g. a value generated by
&roxen.unique-id; which is then transported by form
variables. An alternative which often is more convenient is to use the
variable client.session (provided by this module) together with the
<force-session-id> tag and the feature to set unique browser
id cookies in the http protocol module (located under the server ports
tab).

Attributes

id

id=stringThis attribute is required.

The key that identifies
the session. Could e.g. be a name, an IP adress, a cookie or the value
of the special variable client.session provided by this module (see
above).

life

life=number (900)

Determines how many
seconds the session is guaranteed to persist on the server side.

If the module isn't configured to use a shared database, then
values over 900 means that the session variables will be moved to a
disk based database when they have not been used within 900
seconds.

force-db

If used, the session variables will be
immediatly written to the database. Otherwise session variables are
only moved to the database when they have not been used for a while
(given that they still have "time to live", as determined by the
life attribute).

Setting this flag will increase the integrity of the session, since
the variables will survive a server reboot, but it will also decrease
performance somewhat.

If the module is configured to use a shared database then sessions
are always written immediately, regardless of this flag.