Authentication through web.config not authenticating in ASP.net 3.5

前端 未结 5 695
无人及你
无人及你 2020-12-16 17:04

This is one of this things that should be extremely simple and I just can\'t work out why it\'s not working.

I\'m trying to set up some very quick authentication for

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-16 17:39

    Another possible pitfall that is that the user name "Admin" appears to be special and not honored if your testing a credential set in web.config

    
       //Authentication always returns false for me
    
    
    
       //Authentication works normally 
    
    

    The problem doesn't seem to apply in your case, but I just spent an hour figuring that out so I thought I'd record it here.

提交回复
热议问题