Logging Off Forms Based Authentication

S

- Steve -

Two questions.

1. Is there a good way to include a log off button on every page on the
site. Like using an include for a banner at the top or bottom. I tried to
add it to my header banner but I can't see how to tie that button into the
code.

2. If someone clicks the log off button it requires that all the
validations are okay. If they hit "submit" I want the validation to apply,
but if they click "Log Off" I want to log them off, whether or not they've
typed a valid e-mail address in. (for example)

--

Steve Evans
Email Services
SDSU Foundation
(619) 594-0708
 
S

S. Justin Gengo

Steve,

You'll love the solution to this because it's very simple. Every button has
a "CausesValidation" property. Set your log off button's CausesValidation
property to false and you're all set!

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top