sessionCookieName

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the sessionCookieName to <cookieName>
Summary

Specifies the name of the cookie used to store the session id.

Introduced5.0
OSmac, windows, linux
Platformsserver
Parameters
NameTypeDescription
cookieName

a string specifying the name of the cookie

Example
set the sessionCookieName to tCookieName
set the sessionCookieName to "MYSESSION"
RelatedProperty: sessionSavePath, sessionLifetime, sessionID
Description

Use the sessionCookieName property to set the name of the cookie used to store the session id.

Use the sessionCookieName property to set the name of the cookie used to store the session id. When a session is created on the server, a cookie is created in the browser to identify the ongoing session. Setting the sessionCookieName is useful if you want to have multiple session running a the same time for a given website.

If the sessionCookieName is not specified then the default, LCSESSION, is used.

Note: You do not need to alter any of the session properties in order to start and use sessions. They provide a way for advanced users to configure the way session work.

Note: The sessionCookieName property is only available when running in CGI mode (Server).