Aller à une page en passant par une authentification. - Go to a page by ussing authentication

D

Don Juan

Hi all
I need go to a page from my project like this: http: //
Project1/Results.aspx
But the user needs go before to the authentication page http: //
Project1/login.aspx, I have a forms authentication and I use SQL server for
users.

Thanks in advanced.
___________________________

Bonjour à tous.

Je souhaite aller à una page dans mon poject comme cela: http: //
Project1/Results.aspx
Mais avant d'afficher cette page il dois passer par une authentification
(j'utilise une autentification forms SQL Server).

Merci de vos lumières.
 
J

Jérémy Jeanson

Bonjour Don Juan,

Si tu utilise le provider SQL pour une authentification Forms, il faut
que tu indique dans ton fichier de configuration que l'accès anonyme est
impossible est que tu indique une page de Login.

Par exemple :

<authentication mode="Forms">
<forms loginurl="~/Login.aspx" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top