Bug #14826 Updated: 4.1.0 on powerpc doesn't save session variables

From: Date: Fri, 04 Jan 2002 17:30:57 +0000
Subject: Bug #14826 Updated: 4.1.0 on powerpc doesn't save session variables
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-75881@lists.php.net to get a copy of this message
ID: 14826 Updated by: sander Reported By: teixi@6tems.com Old Status: Open Status: Feedback Bug Type: Session related Operating System: Debian Linux 2.2.19 ppc PHP Version: 4.1.0 New Comment: Are you sure the session-related paths in your php.ini are correct? Previous Comments: ------------------------------------------------------------------------ [2002-01-03 10:12:03] teixi@6tems.com 4.1.0 on powerpc doesn't save session variables apache 1.3.22 scripts like this sample doesn't save session varibles, but when run on intel platform with same php.ini, same php and apache versions, it works saving session variables. --------- <?php session_start(); // session variable to store the counter. session_register('counter'); // session variable to store the value when the page was last loaded; // this value is maintained so that difference can be calculated. session_register('timeAtLastLoad'); // current time $timeNow = time(); // increment counter $counter++; // calculate the time lapsed from last visit. $timeLapsed = $timeNow - $timeAtLastLoad; // display appropriate message if($counter > 1) { echo "<b>It's been $timeLapsed seconds since you last viewed this page.</b>"; } else { echo "<b>First time here? Reload this page to see how the session works!</b>"; } $timeAtLastLoad = $timeNow; ?> ------- ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14826&edit=1

« previous php.dev (#75881) next »