[sync] SyncML session problem

Anthony Mills amills at gascard.net
Fri Feb 27 09:01:24 PST 2004


Most of the code should be in the correct place and in the correct 
order.  The main problem I seem to be having is with State.  The State 
variable is stored in $_SESSION['SyncML.state'], but it will not retain 
the state across multiple http requests.  This is probably my fault, I 
think it is the mutable/immutable problem.  If you look at |function 
getStateFromSession($sourceURI, $locName, $sessionID) on line 166 of 
SyncML.php, we create the session, and the session does persist.  We do 
not have to create a new State on the next request.  The problem is the 
isAuthorized is false.  It was true on the last request. I may not be 
updating the State in |$_SESSION['SyncML.state']| correctly.  Does 
anyone know what I could be doing wrong?

Thanks,
Anthony
|


More information about the sync mailing list