How do I put a button on a html page that when clicked upon<br>executes the code:<br><br>Session.abandon <br><br>This code is used to logout from .asp pages I have produced.<br>Thankful for any help given.<br>
you could make it a submit button, or make it a button and have the onclick handler say formname.submit. Then on the submission, test using <br>If Request("button name" = "button value" Then<br> Session.abandon<br>End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.