[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] authentication problem
From: |
Jason Wies |
Subject: |
Re: [Phpgroupware-developers] authentication problem |
Date: |
Fri, 18 Oct 2002 21:23:57 -0400 |
User-agent: |
Mutt/1.2.5i |
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
http://docs.axisgroupware.org/index.php?page=XMLRPCdocs.
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 header.inc.php
> file, and
> if it do that and the session is not yet authenticated, functions.inc.php
> 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 header.inc.php 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
> http://mail.gnu.org/mailman/listinfo/phpgroupware-developers