Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms Authentication
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00672857
Message ID:
00672909
Vues:
13
Your problem is the syntax in the forms element. The attribute is "forms" not "name". The reason you were seeing "aspxauth" was that is the default name used if no form name is given. Since nothing was entered for the "forms" attribute it used "aspxauth". Use the following instead:
<authentication mode="Forms">
    <forms forms=".PHYSCNT" loginUrl="../wlogin/login.aspx" />
</authentication>
>Sorry for rambling :) is FormsAuthentication.FormsCookieName supposed to be the name of the cookie that is specified in the protected applications web.config? No matter what, it gives me .ASPXAUTH. Am I doing something wrong here? Thanks,
>jfh
>
>>I think I got this figured out. Apparently, if I want to use a different cookie name, I have to assign it a different name in my login page. This is a real bummer, because I'm going to have to use a different login page for every application, following these rules. Does anyone know how to make this dynamic? Thanks,
>>jfh
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform