diff --git a/reference/session/book.xml b/reference/session/book.xml index 1fb7151b1a..74b332c623 100644 --- a/reference/session/book.xml +++ b/reference/session/book.xml @@ -20,8 +20,8 @@ user side or is propagated in the URL. - The session support allows you to register arbitrary numbers of - variables to be preserved across requests. When a visitor accesses + The session support allows you to store data between requests in the + $_SESSION superglobal array. When a visitor accesses your site, PHP will check automatically (if session.auto_start is set to 1) or on your request (explicitly through @@ -43,17 +43,15 @@ - All registered variables are serialized after the request - finishes. Registered variables which are undefined are marked as - being not defined. On subsequent accesses, these are not defined + $_SESSION (and all registered variables) are serialized + after the request finishes. Registered variables which are undefined are + marked as being not defined. On subsequent accesses, these are not defined by the session module unless the user defines them later. - Some types of data can not be serialized thus stored in sessions. It - includes resource variables or objects with circular - references (i.e. objects which passes a reference to itself to another - object). + Because session data is serialized, resource variables cannot + be stored in the session.