Use cookies in non-browser clients e.g Php - Android -
How do I use cookies in non-browser clients to maintain session and other information (for example Php - Android). / P>
My site is working on the basis of cookies to maintain the state, now that I am writing web services for mobile applications, it is known that the site is treating every API call As if they are coming from a unique user, as the absence of cookies
How can I use cookies between PHP (web service) and Android application?
If you want to keep watch, you should call PHP-SESSIONID on each call to your web service. The cookie will continue, as long as you want to keep this session alive.
And other cookies are also set and sent manually on every request or when using the cookie handler.
Comments
Post a Comment