Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logging out of a web page application

Status
Not open for further replies.

minckle

Programmer
Mar 17, 2004
142
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top