[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.354,1.355
blaine at iowaoutdoors.org
blaine at iowaoutdoors.org
Sun Aug 8 13:00:15 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv12605/public_html
Modified Files:
lib-common.php
Log Message:
Added support for PHP SESSIONS - using the PEAR class HTTP_Session.
Index: lib-common.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.354
retrieving revision 1.355
diff -C2 -d -r1.354 -r1.355
*** lib-common.php 7 Aug 2004 09:13:38 -0000 1.354
--- lib-common.php 8 Aug 2004 17:00:12 -0000 1.355
***************
*** 112,115 ****
--- 112,123 ----
// | Library Includes: You shouldn't have to touch anything below here |
// +---------------------------------------------------------------------------+
+ /**
+ * Include the PEAR Class to support PHP SESSIONS
+ * Setup the SESSIONS Class and start SESSIONS and restore any SESSION Based Variables
+ */
+
+ require_once ("HTTP/Session.php");
+ HTTP_Session::useCookies($_CONF['sessions_usecookie']);
+ HTTP_Session::start($_CONF['sessionid'], uniqid($_CONF['sessionid_prefex']));
/**
More information about the geeklog-cvs
mailing list