Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed inaccurate information about default location for session savePath #2168

Merged
merged 1 commit into from

2 participants

@acorncom

Session's save path is set to session.save_path by default. On
some distros, that is set to /tmp, but it isn't always. Updated the
docs to reflect that.

@acorncom acorncom Fixed inaccurate information about default location for session savePath
Session's save path is set to session.save_path by default.  On
some distros, that is set to /tmp, but it isn't always. Updated the
docs to reflect that.
c26e319
@samdark samdark merged commit 7b9e0bc into yiisoft:master
@samdark
Owner

Thank you.

@acorncom acorncom deleted the acorncom:http-session-doc-fix branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 4, 2013
  1. @acorncom

    Fixed inaccurate information about default location for session savePath

    acorncom authored
    Session's save path is set to session.save_path by default.  On
    some distros, that is set to /tmp, but it isn't always. Updated the
    docs to reflect that.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/web/CHttpSession.php
View
4 framework/web/CHttpSession.php
@@ -55,7 +55,7 @@
* @property boolean $isStarted Whether the session has started.
* @property string $sessionID The current session ID.
* @property string $sessionName The current session name.
- * @property string $savePath The current session save path, defaults to '/tmp'.
+ * @property string $savePath The current session save path, defaults to {@link http://php.net/session.save_path}.
* @property array $cookieParams The session cookie parameters.
* @property string $cookieMode How to use cookie to store session ID. Defaults to 'Allow'.
* @property float $gCProbability The probability (percentage) that the gc (garbage collection) process is started on every session initialization, defaults to 1 meaning 1% chance.
@@ -202,7 +202,7 @@ public function setSessionName($value)
}
/**
- * @return string the current session save path, defaults to '/tmp'.
+ * @return string the current session save path, defaults to {@link http://php.net/session.save_path}.
*/
public function getSavePath()
{
Something went wrong with that request. Please try again.