Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

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

2 réponses
Avatar
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.

2 réponses

Avatar
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>

--
Jérémy JEANSON
MCP
http://www.jjeanson.fr
Avatar
Don Juan
Merci!

"Jérémy Jeanson" wrote in message
news:ObCs%
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>

--
Jérémy JEANSON
MCP
http://www.jjeanson.fr