[sync] SyncML Session Question
Logan Owen
logan.owen at gmail.com
Mon Feb 28 12:50:36 UTC 2011
All,
I believe I fixed the problem, as I am now able to successfully sync with my
Horde server.
I am attaching a patch for the issue. Is there a better way to make sure
these changes get made to the main development branch?
Thanks,
Logan
On Sun, Feb 27, 2011 at 8:37 PM, Logan Owen <logan.owen at gmail.com> wrote:
> Hey,
>
> I am using the git HEAD version of Horde, and am having problems using
> SyncML. My device (an Android using the Funambol client) sends two
> messages. The first one authorizes itself, but the second one fails as
> being unauthorized.
>
> I believe I have traced the problem to a session problem. The
> SyncML_State is not being saved and retrieved correctly. I think the
> problem is because the client does not use regular HTTP sessions
> (storing cookies, etc), but rather holds the session in the body of the
> message. I believe that this is what is causing the problem. I get
> stuck trying to trace how sessions are handled internally in Horde.
> Additionally, the session is being rekeyed by checkAuthorization() when
> it calls Horde_Core_Factory_Auth->authenticate().
>
> Any guidance in the correct way to override SESSION ->setup() so that it
> associates multiple client requests with the same SessionId to the same
> Horde_Session would be greatly appreciated.
>
> Thanks,
> Logan
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-SyncML-to-enable-syncing-with-at-least-the-An.patch
Type: application/octet-stream
Size: 2955 bytes
Desc: not available
URL: <http://lists.horde.org/archives/sync/attachments/20110228/6643f8ae/attachment.obj>
More information about the sync
mailing list