We help IT Professionals succeed at work.

Lockout user and provide message when user attempts login

gogetsome
gogetsome asked
on
Medium Priority
304 Views
Last Modified: 2012-08-13
Hello, what is the easiest way to lockout a user and then display a message when the user tries to login?

I built a simple tool that admins can update the isLockedOut field of the aspnet_membership table which effectively lockes out the user. But am having dificulties tying to get the login control to display the message due to this type of logout. Any ideas on the best method to accomplish this task?
Comment
Watch Question

You need to do this using JavaScript:

Alert user before session timeout
http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_21630889.html

-Nauman.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.