diff --git a/reference/session/reference.xml b/reference/session/reference.xml index 936f622b11..5110b052f9 100644 --- a/reference/session/reference.xml +++ b/reference/session/reference.xml @@ -1,5 +1,5 @@ - + Session handling functions Sessions @@ -26,13 +26,23 @@ The session support allows you to register arbitrary numbers of variables to be preserved across requests. When a visitor accesses - your site, PHP will check automatically (if session.auto_start is - set to 1) or on your request (explicitly through + your site, PHP will check automatically (if session.auto_start + is set to 1) or on your request (explicitly through session_start or implicitly through session_register) whether a specific session id has been sent with the request. If this is the case, the prior saved environment is recreated. + + + If you do turn on + session.auto_start then you cannot put + objects into your sessions since the class definition has to be + loaded before starting the session in order to recreate the + objects in your session. + + All registered variables are serialized after the request finishes. Registered variables which are undefined are marked as