sessionCookieAlways property

bool sessionCookieAlways
getter/setter pair

Use cookies to record sessions or not.

This value is used if a request cannot detect cookies are enabled in the browser.

If true, session cookies will be used. Even though there is no guarantee the browser will support cookies.

If false, session cookies will not be used unless the HTTP request had cookies in it (indicating the browser has cookies enabled). Instead, URL rewriting will be unused.

The default is false for backward compatibility with previous behaviour. But since all modern browsers and nearly all users have enabled cookies, A future release of this library might set it to true, or eliminate the support for URL rewriting.

Implementation

bool sessionCookieAlways = false;