I know nothing about PHP, but in my application I need to implement user login and logout. I've found this nice tutorial and have successfully implemented logging in, but how do I log out? I just can't find any information about it in google, particularly about iPhone side. PHP tutorials mostly explain a lot of theory about sessions and stuff like that which is not applicable for my specific event. I would love to spend my time for learning that theory, but I have to learn PHP basics first and this is not what I currently need.
All I need is to understand the correct way of implementing logout.
- I would be glad very much if someone explained me shortly in plain language the mechanism of standard interaction between iPhone app and php script when logging in and out.
- This is more important. Would you please provide me with few lines of php and objective- с code displaying how to implement logging out?