From b607876481a75f3dfd2e205f7e70977f285efcc3 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Wed, 20 Jun 2001 17:21:08 +0000 Subject: [PATCH] session_end() and session_readonly() added git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@49900 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/session.xml | 54 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/functions/session.xml b/functions/session.xml index d4e82b08b0..1383cf3383 100644 --- a/functions/session.xml +++ b/functions/session.xml @@ -1,7 +1,7 @@ Session handling functions Sessions - + Session support in PHP consists of a way to preserve certain data @@ -937,6 +937,58 @@ echo "The cache limiter is now set to $cache_limiter<p>"; + + + session_end + Write session data and end session + + + Description + + + void session_end + + + + + End the current session and store session data. + + + Session data is usually stored after your script terminated + without the need to call session_end, but as + session data is locked to prevend concurrent writes only one + script may operate on a session at any time. When using framesets + together with sessions you will experience the frames loading one + by one due to this locking. You can reduce the time needed to + laod all the frames by ending the session as soon as all changes + to session variables are done. + + + See also: session_readonly. + + + + + + + session_readonly + Begin session - reinitializes freezed variables, but no writeback on request end + + + Description + + + void session_readonly + + + + + Read in session data without locking the session data. Changing + session data is not possible, but frameset performance will be improved. + + + +