Login Control > Cancel Logging

Discussion in 'ASP.NET 2.0' started by KenA, Oct 14, 2006.

  1. Hi. Since there´s no Cancel btn in the Login control, although I could have a template in ... is using the LoggingIn event handler the best way to cancel loging after the user clicks the login button?





    »»» KenA

    Post Edited (KenA) : 10/15/2006 9:22:29 AM GMT
     
  2. This seems sort of like trying to blow out a matchthat was just lit.

    Instead of interrupting the log-in process wouldn't a Yes/No Dialog better suit your needs?
     
  3. The Yes/No Dialog box can solve the problem, but suppose he is already logged and for some reason I want to cancel the login? Probably the LoggingIn event is not the best place to do stuff like that ... what is the LoggingIn event for? Is it the step where the user´s credentials are already checked and he is 'loggingin'? or it´s an event before credentials are checked?

    »»» KenA
     

Share This Page