CiriusMex
unread,Feb 25, 2013, 11:04:47 PM2/25/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
Hello, I'm creating a serie of "WebServices" from a rails application so that an iOS App will be able to communication with the WebApp. Basically I'm creating functions that get a json request, analyse it and send a json result...I've never done that before and I have a huge problem: I have no idea how to manage session for WebServices. The idea is that a user log from the iOS App to the WebApp using a webservice. I was able to create a function that does the login but how do I do to remember the user next time the App calls a webservice? In my WebApp it's pretty easy, I check the session for user information but in that case I have no clue about what to do...I thought of saving the session in a DB table but doesn't seems like the best solution, is there any way a session can be loaded from a token or something?