Commit eb941a8f authored by Alexey Zakhlestin's avatar Alexey Zakhlestin

proper prefixes for cookie options

parent c421eab3
...@@ -21,10 +21,10 @@ Parameters ...@@ -21,10 +21,10 @@ Parameters
* **name**: The cookie name (_SESS by default) * **name**: The cookie name (_SESS by default)
* **id**: The session id (null by default) * **id**: The session id (null by default)
* **cookie_lifetime**: Cookie lifetime * **cookie_lifetime**: Cookie lifetime
* **path**: Cookie path * **cookie_path**: Cookie path
* **domain**: Cookie domain * **cookie_domain**: Cookie domain
* **secure**: Cookie secure (HTTPS) * **cookie_secure**: Cookie secure (HTTPS)
* **httponly**: Whether the cookie is http only * **cookie_httponly**: Whether the cookie is http only
However, all of these are optional. Sessions last as long as the browser is However, all of these are optional. Sessions last as long as the browser is
open. To override this, set the ``lifetime`` option. open. To override this, set the ``lifetime`` option.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment