For http:///www.yourdomain.com/yourscript.php?count=56 assign a new value to the registered variable $count. This is important for security: it can only be deleted in server-side scripts. An unregistered dialog variable.
If you want to completely delete a conversation variable, you first need to unregister it from the system:
session_unregister('count');
The script to completely delete a conversation variable is Very simple, as shown below:
session_destroy();
Using PHP session variables can reduce the frequency of database access, make the code clearer, and reduce the number of cookies sent to the user. It's the simplest way.