Commit a31af557 authored by Fabien Potencier's avatar Fabien Potencier

merged branch indeyets/session-doc-fix (PR #633)

This PR was merged into the master branch.

Commits
-------

eb941a8f proper prefixes for cookie options

Discussion
----------

All cookie-related options of NativeSessionStorage should be prefixed with `cookie_`

---------------------------------------------------------------------------

by indeyets at 2013-02-16T09:25:59Z

Separate issue is, that there are, actually, much more options available. Listing all of those wouldn't be useful for this doc, so I skipped it for now.

---------------------------------------------------------------------------

by igorw at 2013-02-16T15:33:22Z

The doc should probably link to http://php.net/session.configuration

---------------------------------------------------------------------------

by igorw at 2013-03-05T02:30:32Z

@indeyets what's the status on this? can you update your patch with the link?
parents fd37f81b eb941a8f
......@@ -21,10 +21,10 @@ Parameters
* **name**: The cookie name (_SESS by default)
* **id**: The session id (null by default)
* **cookie_lifetime**: Cookie lifetime
* **path**: Cookie path
* **domain**: Cookie domain
* **secure**: Cookie secure (HTTPS)
* **httponly**: Whether the cookie is http only
* **cookie_path**: Cookie path
* **cookie_domain**: Cookie domain
* **cookie_secure**: Cookie secure (HTTPS)
* **cookie_httponly**: Whether the cookie is http only
However, all of these are optional. Sessions last as long as the browser is
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