I have this function being called when a user clicks on a logout link, but i'm unsure if i can kill the current session by calling session_destory (); from JS??
Code:
function logout() {
//kill session here ex. session_destory();
}
Comment