How to save the data for browser closing and system power shutdown in PHP projects
Asked
Active
Viewed 166 times
-1
-
I guess **cookies** are what you are looking for.. – Naruto Mar 19 '15 at 09:57
-
Any other option? or please provide the references link. – Garland Mar 19 '15 at 10:01
-
you mean google.com? – Naruto Mar 19 '15 at 10:04
-
no. I just asked any other option to find the browser close in PHP? – Garland Mar 19 '15 at 10:06
1 Answers
1
As already mentioned you can use cookies
, some useful info here:
How do I set/unset cookie with jQuery?
Another option is localStorage
:
Javascript + HTML5 localstorage
This topic can help you to choose, what to use: