|
From: | Lyu Abe |
Subject: | Re: [Demexp-dev] login method and cookie |
Date: | Sun, 12 Oct 2008 22:09:53 +0200 |
User-agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
Hi David,
Is it normal that when using these servers: http://www.linux-france.org/cgi-bin/demexp-xmlrpc-test or http://www.linux-france.org/cgi-bin/demexp-xmlrpc-demo do not need to 'login' to be able to access to all methods on the server? (and the 'goodbye' method doesn't seem to do anything either) ->This means that using a 'cookie' is not necessary...I'm not sure I understand your question. For all methods of the proxy, you can call them with a dummy cookie or a wrong login. However the server should report an error when the login or the operation fails.
Actually no: I am using a C code (xmlrpc-c) to call the methods on the http://www.linux-france.org/cgi-bin/demexp-xmlrpc-test server with the "root" login.I commented the 'login' method calls but could still obtain responses from other methods ('max_question_id' and 'max_tag_id'). I don't know if this is a normal behaviour.
On the server, you can call all methods but their execution should fail with an error code when your an not authenticated. Which code are you using?
It's a very simple C code (just call and proceed the result). I just skipped the 'login' step, and could still access other methods...
Regards, Lyu
And the http://tuxinette.linux-france.org:50000 seems to be down... or?Server restarted. Yours, d.
[Prev in Thread] | Current Thread | [Next in Thread] |