vibe.d beta banner
get vibe.d
0.8.1

Asynchronous I/O that doesn’t get in your way, written in D

Enum SessionOption

Options altering how sessions are created.

enum SessionOption : int { ... }

Multiple values can be or'ed together.

Enum members

NameDescription
httpOnlyInstructs the browser to disallow accessing the session ID from JavaScript.

See Also

Cookie.httpOnly

noneNo options.
noSecureInstructs 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

secureInstructs 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.