Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sessions for XML-RPC #1

Open
DevAlien opened this issue Jan 26, 2011 · 2 comments
Open

Sessions for XML-RPC #1

DevAlien opened this issue Jan 26, 2011 · 2 comments
Assignees

Comments

@DevAlien
Copy link
Owner

Problem

In the module "Blog" you could administrate it by a mobile phone and to do it the module will provide XML-RPC APIs but to use them you should send always Username and Password and is not good.
Example:
Mobile Phone (MP): request list of comments => (AneCMSBlog.Comments: user, pass, postID)
As you can see, for each request you must send the Username and Password.

Proposed Solution:

In the CMS we will give an XML-RPC web services for the login.
AneCMS.Login: user, pass => Return a user ID.
The user ID will be associated to an IP, so all the requests will be done just with the ID given by the login and if the IP is different the user will not be able to finish the request. If the Session for the user is finished you can do the login again.

Example:
AneCMSBlog.Comments: userID, postID

@Operation79
Copy link
Contributor

What would happen if you have a dynamic IP Address ?

@DevAlien
Copy link
Owner Author

when the user id is not any more associated you need to do the login again.
We have already tested it in the version of AneCMS for android. and also after a certain period of inactivity the session will be destroyed.

@ghost ghost assigned DevAlien Apr 12, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants