PHP Application Class

Asked

Viewed 86 times

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...

  • 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

  • In this case cookie is the best solution!

  • Serializing some class would not be a solution?

2 answers

5


0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.