Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Login for web forms
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 5.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01553465
Message ID:
01553488
Vues:
62
>>I'm trying to create a login form but I'd like to use different url's based on the type of user. For most screens, I have used the postback url property of a button but that won't work or at least I haven't had any luck figuring out how to make that work. Any suggestions? Thanks.
>
>If you specify the login form in the web.config then no matter what URL user has initially he/she will be redirected to this login form. E.g.
>
>
><authentication mode="Forms">
>     <forms name="YourAppName" path="/" loginUrl="YourLogInForm.aspx"/>
></authentication>
>
>
>I hope I understood your question correctly.
I haven't tried it this way but used something similar with Mere Mortals. The problem is getting back to the calling form. Is that supposed to happen automatically?
I figured this out. Response.Redirect("urlpage.aspx") is what I needed. Thanks for your help. You got me started in the right direction. There are just so many things that look like they might do this that weren't working.
Linda Harmes
HiBit Technologies, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform