sas             Thu Oct  3 04:02:04 2002 EDT

  Modified files:              
    /phpdoc/en/reference/session        reference.xml 
  Log:
  typos
  
  this needs a rewrite, some parts are incomprehensible due to lack
  of structure.
  
  
Index: phpdoc/en/reference/session/reference.xml
diff -u phpdoc/en/reference/session/reference.xml:1.14 
phpdoc/en/reference/session/reference.xml:1.15
--- phpdoc/en/reference/session/reference.xml:1.14      Thu Oct  3 03:54:36 2002
+++ phpdoc/en/reference/session/reference.xml   Thu Oct  3 04:02:03 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
  <reference id="ref.session">
   <title>Session handling functions</title>
   <titleabbrev>Sessions</titleabbrev>
@@ -134,10 +134,11 @@
      Use of <varname>$_SESSION</varname> (or
      <varname>$HTTP_SESSION_VARS</varname> with PHP 4.0.6 or less) is
      recommended for improved security and code readablity. With
-     <varname>$_SESSION</varname>, there is no need to use
-     session_register()/session_unregister()/session_is_registered()
-     functions. Session variables are accessible like any other
-     variables.
+     <varname>$_SESSION</varname>, there is no need to use the
+     <function>session_register()</function>,
+     <function>session_unregister()</function>,
+     <function>session_is_registered()</function> functions. Session variables
+     are accessible like any other variables.
      <example>
       <title>
        Registering a variable with $_SESSION.
@@ -179,7 +180,7 @@
 <![CDATA[
 <?php
 session_start();
-// With PHP 4.3 and later, you can also use simply use the prior example.
+// With PHP 4.3 and later, you can also simply use the prior example.
 session_unregister('count');
 ?>
 ]]>
@@ -189,12 +190,12 @@
     <para>
      If <link
      linkend="ini.register-globals"><literal>register_globals</literal></link>
-     is enabled, then all global variables can be registered as session
-     variables and the session variables will be restored to corresponding
-     global variables. Since PHP must know which global variables are
-     registered as session variables, users need to register variables with
-     session_register() function. You can avoid this by simply setting entries
-     in <varname>$_SESSION</varname>.
+     is enabled, then each global variable can be registered as session
+     variable. Upon a restart of a session, these variables will be restored
+     to corresponding global variables. Since PHP must know which global
+     variables are registered as session variables, users need to register
+     variables with session_register() function. You can avoid this by simply
+     setting entries in <varname>$_SESSION</varname>.
      <caution>
       <para>
        If you are using



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to