Skip to main content

newSession

Deprecated

The newSession tag creates a new session.

caution
This tag is deprecated. Use the $jsapi.startSession or $jsapi.stopSession methods instead.

Syntax

The tag takes the following parameters:

ParameterTypeDescriptionDefault value
dataObjectArbitrary data to be passed into the new session. It will be available as $request.data.Empty object
messageStringThe message to be sent to the script after the new session is started. This parameter is required.

How to use

state: Reset
q!: $regex</reset>
newSession:
message = "/start"