|
From: Benjamin C. <bc...@us...> - 2001-10-08 03:59:55
|
Update of /cvsroot/phpbt/phpbt/docs/sgml
In directory usw-pr-cvs1:/tmp/cvs-serv21038
Modified Files:
dependencies.sgml
Log Message:
Trying to finish off the phplib instructions
Index: dependencies.sgml
===================================================================
RCS file: /cvsroot/phpbt/phpbt/docs/sgml/dependencies.sgml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- dependencies.sgml 2001/10/08 03:50:41 1.3
+++ dependencies.sgml 2001/10/08 03:59:51 1.4
@@ -48,7 +48,20 @@
$t->pparse('main', array('content', 'wrap', 'main'));
</programlisting>
</sect3>
-
+ <sect3>
+ <title>Session and Authentication</title>
+ <para>The session start and authentication code is included in <filename>include.php</filename>. The session is started by a call to <function>page_open()</function>, with the arguments specifying which session elements should be created. &phpbt; uses the <classname>Auth</classname> and <classname>Perm</classname> classes from PHPlib in addition to the base <classname>Session</classname> class. </para>
+ <sect4>
+ <title>Session</title>
+ <para>Session variables, or variables that should be retained from page to page, are set via the <varname>$sess</varname> variable, which is an instantiation of the <classname>usess</classname> class. </para>
+ </sect4>
+ <sect4>
+ <title>Auth</title>
+ </sect4>
+ <sect4>
+ <title>Perm</title>
+ </sect4>
+ </sect3>
</sect2>
</sect1>
|