Montag morgen... stehe auf dem Schlauch.
Wie sage ich der FormsAuthentication dass der User
valide ist...
Ich dachte dass würde FormsAuthentication.RedirectFromLoginPage
für mich erledigen... er kommt aber immer wieder auf die Loginnseite
zurück.
das habe ich auch schon probiert...
if checkLogin(username.text,password.text) then
FormsAuthentication.SetAuthCookie(Username.Text, False)
end if
if checkLogin(username.text,password.text) then
FormsAuthentication.RedirectFromLoginPage(Username.Text, false)
end if
<authentication mode="Forms" >
<forms loginUrl="~/_user/login.aspx"
protection="All" timeout="30" path="~/_admin/">
</forms>
</authentication>
<authorization >
<deny users="?" />
</authorization>
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net