![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| troehr Sat May 12 11:07:18 2007 UTC Modified files: /pear/HTTP_Session Session.php Log: Implemented request #11022 http://cvs.php.net/viewvc.cgi/pear/H...&diff_format=u Index: pear/HTTP_Session/Session.php diff -u pear/HTTP_Session/Session.php:1.12 pear/HTTP_Session/Session.php:1.13 --- pear/HTTP_Session/Session.php:1.12 Sat Dec 16 13:37:12 2006 +++ pear/HTTP_Session/Session.php Sat May 12 11:07:18 2007 @@ -27,7 +27,7 @@ * @author Torsten Roehr <torsten.roehr@gmx.de> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Session.php,v 1.12 2006/12/16 13:37:12 troehr Exp $ + * @version CVS: $Id: Session.php,v 1.13 2007/05/12 11:07:18 troehr Exp $ * @link http://pear.php.net/package/HTTP_Session * @since File available since Release 0.4.0 */ @@ -150,7 +150,9 @@ function start($name = 'SessionID', $id = null) { HTTP_Session::name($name); - if (is_null(HTTP_Session::detectID())) { + if ($id) { + HTTP_Session::id($id); + } elseif (is_null(HTTP_Session::detectID())) { HTTP_Session::id($id ? $id : uniqid(dechex(rand()))); } session_start(); | |||
| Featured Websites | ||||
|
![]() |
| Tags: cvs, http_session, pear, sessionphp |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR/PackageFile/Generator v2.php | Greg Beaver | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR Installer.php /PEAR/PackageFile v1.php /PEAR/PackageFile/v2 Validator.php | Greg Beaver | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear-core / package-PEAR.xml package2.xml /PEAR Downloader.php /PEAR/Downloader Package.php | Greg Beaver | Pear | 0 | 05-20-2007 7:42 PM |
| cvs: pear /PHP_CodeSniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting FileCommentSniff.php | Greg Sherwood | Pear | 0 | 05-20-2007 7:41 PM |
| PHP session question | eric | PHP | 1 | 08-02-2006 9:06 PM |
| Featured Websites | ||||
|