5
In PHP there is some class that works until for example I close the tab of my browser, without being a cookie, I wonder if there is any class that I can extend so that I can save some values until the browser or tab is closed, as well as for Android the Application class.
You can save the variables in a sesssions and use Javascript to load an automatic ajax load every x minutes to keep Session alive...
– Jader A. Wagner
In this case it is better cookie if it is like this, that does not need to run ajax. It was just another curiosity that has in other languages I would like to know if it exists in PHP
– Leonardo Patricio
In this case cookie is the best solution!
– user14307
Serializing some class would not be a solution?
– gmsantos