PDA

View Full Version : Mobile API for verifying if a user is logged in


shaun2222
02-09-2011, 05:43 PM
On my site I have sections that only members can access. I require them to log into the forum first before they can access these sections. Right now I check if they are logged in by manually querying the database and checking the sessionhash against the set cookie.

I'd rather not have to connect to the vb db to do this so I am playing with the new Mobile API. Is it possible to do this with the mobile API? I know i can login/out through the API but that only handles that part and requires passwords to be passed. I want to be able to get the members info from the API using the sessionhash they already logged in with. I don't want to make them have to log in twice.