Today I installed a fresh XAMPP with PHP 5.2.4 SAME PROBLEM!
The Session-values do whatever the like - be random as hell :( It realls looks like the session saves the command and executes it before output :( that suxx :( :( What can I do? I dunno wht I do wrong? regards 2007/10/11, Kevin McArthur <[EMAIL PROTECTED]>: > > Check your php version. Zend_Session is incompatible with php v = 5.2.0 > > ----- Original Message ----- > *From:* ViShap <[EMAIL PROTECTED]> > *To:* Zend Framework General <[email protected]> > *Sent:* Thursday, October 11, 2007 10:13 AM > *Subject:* [fw-general] Zebd_Session bugs me :( > > Hi all readers! > > Following code: > > $sez = new Zend_Session_Namespace('rex'); > $x = $sez->ass ; > $aff = (int) rand( 1,20); > echo 'new: ' . $aff .' - old: '. $x; > $sez->unlock (); > $sez->ass = $aff; > $sez->lock (); > > Now i expect to happen that when reloading the page: > > new 1 old 4 > new 5 old 1 > new 7 old 5 > new ... old 7 .... > > But the value in the Session changes RANDOMLY - It makes what IT wants :( > for example: > > new 3 old 6 > new 5 old 1 > new 9 old 2 > ... > > :( > > Is it my great stupidity or is it a bug? > Dunno - But if you could help me... > > reagrds > ViShap > > >
