This function should be used in the initialization process of project. Indeed, this mode cannot be modified once the session was started.

This function is taken into account in AWP mode only.

Reminder: The initialization process of project is run whenever an AWP page is displayed.

Versions 20 and laterIf your project is using pre-launched sessions, this function must not be used in the "Initializing the project" process. This function must be used in the "Initializing the project after connection to the site" process.

New in version 20If your project is using pre-launched sessions, this function must not be used in the "Initializing the project" process. This function must be used in the "Initializing the project after connection to the site" process.

If your project is using pre-launched sessions, this function must not be used in the "Initializing the project" process. This function must be used in the "Initializing the project after connection to the site" process.

The content is transmitted in a cookie (behavior compatible with version 11).

Caution: This constant must not be used to store sensitive data. Indeed, this information is stored "without being encrypted".

ctxDisk

The content of context is saved in a file on the server.

<Transmission Mode of Identifier>: Integer constant (optional)

Define the transmission mode of identifier (taken into account only if <Storage Mode of Content> corresponds to the ctxDisk constant):

ctxIDCookieURL(default value)

The identifier is transmitted by cookies. If the cookies do not operate, the identifier is transmitted by the URL. When creating the context, the two modes are used because it is not possible to know whether the cookies will be accepted or not.