Alright, what i have a login, logout, register, and i just made the admin panel for it.
I was wanting to know how you DELETE a session after the client exits the browser/website tab.
Any solutions?
You don't.
Since there's no reliable way you can tell when a user closes his/her browser/tab, you can't really do anything when that happens. Why do you need to do this, anyway?
The best thing you can do is have a timeout on the session and delete it when it ends.