[Zope] xmlrpc and sessions
Dieter Maurer
dieter at handshake.de
Thu Aug 19 14:28:50 EDT 2004
Lane Stevens wrote at 2004-8-18 11:59 -0600:
>Is there any way to establish/maintain session data between xmlrpc calls?
Not so easy.
Sessions are identified by a session id, generated by the
"browser_id_manager".
The "browser_id_manager" currently is ready to look for
the session id in "cookies", "request arguments" or
the URL.
Almost surely, your XML-RPC transport ignores cookies (if not,
you have won).
I do not know a way to provide request arguments for an XML-RPC call
other than what should become the method arguments.
Remains the use of the URL to transport the session id.
You probably will need an special method that creates a session
and returns the session id. You then can call further sessions
with this session id in their URLs.
--
Dieter
More information about the Zope
mailing list