vibe.d beta banner
get vibe.d
0.7.30

Enum SessionOption

Options altering how sessions are created.

Multiple values can be or'ed together.

The enum base type is int .

Enum members

Name Description
httpOnly Instructs the browser to disallow accessing the session ID from JavaScript.

See Also

Cookie.httpOnly

none No options.
noSecure Instructs the browser to allow sending the session ID over unencrypted connections.

By default, the type of the connection on which the session is started will be used to determine if secure or noSecure is used.

See Also

secure, Cookie.secure

secure Instructs the browser to disallow sending the session ID over unencrypted connections.

By default, the type of the connection on which the session is started will be used to determine if secure or noSecure is used.

See Also

noSecure, Cookie.secure

See Also

HTTPServerResponse.startSession

Authors

Sönke Ludwig, Jan Krüger, Ilya Shipunov

Copyright

© 2012-2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.