Menu
what i need to happen is:
if a user exits their browser using the X in the corner or any other means, can i run a php script when this happens or is it impossible because the window will be closed.
i’m developing a chat system using ajax and i need to delete the user from the chat session(registered in the database) if the window is closed.
Thanks guys