m creating an website/app using delphi 8 and mysql as a back-end DB. ive created a login page which check the users details in the DB and then marks the user as logged in.
i have a LogOut button on the main menu which logs the user out. But how do i go about logging the user outat the following
1.if they close the internet window before they logout
2.goto a different web address before they log out
Ive a session variable called UserId if thats any use
i have a LogOut button on the main menu which logs the user out. But how do i go about logging the user outat the following
1.if they close the internet window before they logout
2.goto a different web address before they log out
Ive a session variable called UserId if thats any use