|
Posted by Name on 09/02/05 19:07
Alvaro G Vicario <alvaro_QUITAR_REMOVE@telecomputer.com> wrote in
news:zib5z169iehs$.1qje7abxdig6h$.dlg@40tude.net:
> *** Name wrote/escribiσ (Wed, 31 Aug 2005 13:27:01 GMT):
>> orry, I've tried the easy stuff (and some pretty tough stuff too).
>> This may be needed additional information. If I recreate PHP with
>> all the same configuration options, except to make it an Apache
>> module, it works fine. I would keep it this way, however, our
>> security setup won't allow it on the production system.
>
> Have you been able to reproduce the problem with a four line script?
> If so, could you please paste it here?
>
> In any case, I realize I don't really understand what your problem is.
> Session file is supposed to be rebuilt when you change session data
> :-?
>
>
<?
session_start();
session_register("count");
$count=$count+1;
echo $count;
?>
<EOF - test.php>
<BOF - php-cgi.ini (as it pertains to sessions)>
session.register_globals=1
session.bug_compat_42=1
session.bug_compat_warn=0
<EOF - php-cgi.ini end>
When I run this, count always displays as 1. I have done traces on the
server and it shows that the file is created the first time and then
getting opened with O_TRUNC each following time, rather than updated.
Thanks,
Vincent
Navigation:
[Reply to this message]
|