I want to destroy session whenever the tab is closed.
I have set expiry time for session but it is not meeting my requirement. If I restart Apache then session is getting destroyed but I want code to destroy session on closing tab.
I want to destroy session whenever the tab is closed.
I have set expiry time for session but it is not meeting my requirement. If I restart Apache then session is getting destroyed but I want code to destroy session on closing tab.