Click here to Skip to main content
15,903,201 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Input values are lost in postback Pin
Abhishek Sur10-Sep-09 5:19
professionalAbhishek Sur10-Sep-09 5:19 
GeneralRe: Input values are lost in postback Pin
Abhijit Jana10-Sep-09 5:34
professionalAbhijit Jana10-Sep-09 5:34 
GeneralRe: Input values are lost in postback Pin
Abhishek Sur11-Sep-09 5:59
professionalAbhishek Sur11-Sep-09 5:59 
Questionauthentication C# ASPX Pin
gitschi10-Sep-09 0:50
gitschi10-Sep-09 0:50 
AnswerRe: authentication C# ASPX Pin
Abhijit Jana10-Sep-09 1:05
professionalAbhijit Jana10-Sep-09 1:05 
QuestionRe: authentication C# ASPX Pin
gitschi10-Sep-09 3:59
gitschi10-Sep-09 3:59 
AnswerRe: authentication C# ASPX Pin
Not Active10-Sep-09 1:40
mentorNot Active10-Sep-09 1:40 
QuestionRe: authentication C# ASPX Pin
gitschi10-Sep-09 5:16
gitschi10-Sep-09 5:16 
Mark Nischalke wrote:
You can mix them. Use the standard ASP.NET login controls and handle the authentication request on your own. You can use AD to authenticate or some other credential system.


Hello Mark,
if i understood correct.

1. The IIS is configured with "Integration Windows authentication"

2. I have created a standard ASP.NET login control.
In the web.config the setting authentication = "Forms" and i have a Login and a Default URL defined.
I added a new Provider: System.Web.Security.ActiveDirectoryMembershipProvider with the connection string to my Active Directory.

In the default.aspx i check if the User.Identity.IsAuthenticated if yes a lot of settings was set.
So now have the user the possibility to logout. If the user click to logout i to the following
"FormsAuthentication.SignOut() and Response.Redirect("tomylogin.aspx")"

In the "tomylogin.aspx" the stanard ASP.NET login control exists. If the user inserting User and Passwort and click on logon the figures was checked because of the settings in the web.config (Active Directory String....). Is the user authenticatet a redirect to my default.aspx was execute.

My problem now is

1. the first check with the Active Directory is very very slow (i think we have to much users and structurs in the ADS).
2. Is this the correct way for a logout and login to my intranetpage?
3. Can i handle this easier?

Thanks for your help.
best regards
gitschi
AnswerRe: authentication C# ASPX Pin
Not Active10-Sep-09 5:41
mentorNot Active10-Sep-09 5:41 
GeneralRe: authentication C# ASPX Pin
gitschi14-Sep-09 0:42
gitschi14-Sep-09 0:42 
QuestionViewstate Pin
mylogics10-Sep-09 0:50
professionalmylogics10-Sep-09 0:50 
AnswerRe: Viewstate Pin
Abhijit Jana10-Sep-09 1:02
professionalAbhijit Jana10-Sep-09 1:02 
AnswerRe: Viewstate Pin
Arun Jacob10-Sep-09 1:04
Arun Jacob10-Sep-09 1:04 
GeneralRe: Viewstate Pin
mylogics10-Sep-09 1:14
professionalmylogics10-Sep-09 1:14 
GeneralRe: Viewstate Pin
Arun Jacob10-Sep-09 2:14
Arun Jacob10-Sep-09 2:14 
AnswerRe: Viewstate Pin
Christian Graus10-Sep-09 11:34
protectorChristian Graus10-Sep-09 11:34 
Question2 select command in one gridview Pin
Flavia A10-Sep-09 0:30
Flavia A10-Sep-09 0:30 
AnswerRe: 2 select command in one gridview Pin
Arun Jacob10-Sep-09 0:36
Arun Jacob10-Sep-09 0:36 
GeneralRe: 2 select command in one gridview Pin
Flavia A10-Sep-09 1:23
Flavia A10-Sep-09 1:23 
GeneralRe: 2 select command in one gridview Pin
Arun Jacob10-Sep-09 1:26
Arun Jacob10-Sep-09 1:26 
QuestionSave images in host Pin
fattycode9-Sep-09 23:43
fattycode9-Sep-09 23:43 
AnswerRe: Save images in host Pin
Abhijit Jana9-Sep-09 23:52
professionalAbhijit Jana9-Sep-09 23:52 
GeneralRe: Save images in host Pin
fattycode10-Sep-09 0:01
fattycode10-Sep-09 0:01 
GeneralRe: Save images in host Pin
Abhijit Jana10-Sep-09 0:10
professionalAbhijit Jana10-Sep-09 0:10 
Questionlinking sqldatabase to Csharp Pin
Nancy Sackey9-Sep-09 23:39
Nancy Sackey9-Sep-09 23:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.