[dev] Re: [cvs] commit: framework/SyncML SyncML.php
Anthony Mills
amills at gascard.net
Tue Mar 23 11:49:36 PST 2004
I use $_SESSION['SyncML.state] to get and set values that need to
persits across page requests. Currently I do this:
$state = $_SESSION['SyncML.state'] ;
$state->setVersion(1);
$_SESSION['SyncML.state'] = $state;
Instead of just:
$state = $_SESSION['SyncML.state'] ;
$state->setVersion(1);
When I run this from a different page request, this needs to be true.:
$state = $_SESSION['SyncML.state'] ;
$state->getVersion() == 1;
Anthony
Jan Schneider wrote:
> Zitat von Anthony Mills <amills at gascard.net>:
>
>> amills 2004/03/15 23:54:24 PST
>>
>> Modified files:
>> SyncML SyncML.php
>> Log:
>> no longer using variables to pass session around. instead use
>> $_SESSION.
>> No sure how to make a session variable mutable, any ideas?
>
>
> Can you explain what exactly you mean?
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - Neue Wege des Lernens
> http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list