[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] authentication problem

From: Guillaume Courtois
Subject: Re: [Phpgroupware-developers] authentication problem
Date: Mon, 21 Oct 2002 10:17:01 +0000

I understand the way it works, but is it logical that an internal module 
(syncml-server) authenticates itself in phpGW using XML-RPC ? I was thinking 
that XML-RPC was only used by external programs like a software on a remote 
server ?

Jason Wies (address@hidden) wrote*:
>You can authenticate to the server once, and receive the 'sessionid' and 
>'kp3'.  Then you only need to include the sessionid and kp3 along with the 
>future requests.  You can do this by including them in the XML-RPC/SOAP 
>request, or sending them as GET vars or cookies or however you're usually 
>doing client <-> server communication.  index.php will recognize that you have 
>included them in the request and not redirect the client to login.php.  Watch 
>out for session timeouts though, as you will be redirected even if you include 
>the sessionid and kp3.
>There are examples for XML-RPC/SOAP at 
>Jason Wies aka Zone
>On Fri, Oct 18, 2002 at 01:55:39PM +0000, Guillaume Courtois wrote:
>> Hi all ... help !
>> In my let's-write-a-syncml-server quest, I make very small steps :)
>> Now I need help because what I've understood seems strange to me ...
>> In my code I try to have a page to which my syncml client sends data. So the 
>> page
>> gets the login and password, checks them, etc ...
>> The problem is that at the beginning I try to include the 
>> file, and
>> if it do that and the session is not yet authenticated, 
>> sends me
>> directly to the login.php with code 5, unless I initialize my flags with
>> current_app = login.
>> So, what should I do ? First initialize my flags with current_app = login for
>> including and testing login/password sent by the syncml 
>> client, then
>> change flags->current_app = syncml-server, or ... what ?
>> Thanks in advance for your help !
>> _______________________________________________
>> Phpgroupware-developers mailing list
>> address@hidden
>Phpgroupware-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]