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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logout Link

Status
Not open for further replies.

kathyc20

Programmer
Mar 7, 2001
96
CA
Hello,


I have NT security set up on a certain folder on mywebsite called "franch". When the user clicks this link on the webpage, the security box appears asking for id and pwd.

How would I code a logout button on my webpage?

I was hoping I could do this in JavaScript.
 
You'd need to invalidate the session - I'd ask in the ASP forum for this one (I'm assuming you're using IIS and ASP).

If you're not using any kind of session, then there's nothing to invalidate / log out from.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
i use 123-reg and they use this type of login, their logout button simply takes you to a page telling you to close the browser window, so I assume closing the browser is what logs you out of the system.

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top