php - I want to destroy session like IRCTC or SBI when close the tab of browser -


i want destroy session irctc or sbi when close tab of browser. have tried ini_set('session.use_cookies',0) clear session when browser closed not when tab closed.

i have tried jquery unload() method , onbeforeunload() still not working.pls me.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

php - Improving script execution time -

How to provide Authorization & Authentication using Asp.net, C#? -