You are here: Re: session change from 4.2.3 -> 4.3.x? « PHP Programming Language « IT news, forums, messages
Re: session change from 4.2.3 -> 4.3.x?

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]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация