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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -