Click here to Skip to main content
15,748,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

i am using window authentication in my application. every thing works fine just wanted to know that i don't want user to login every time when they open the url. now one of the solution i found is to set my site in internet option intranet site or add url as a trusted site. now i want to know that if we have multiple user do we need to apply this on individual machine or we can just set this on server and it will work for all users ?

i tried to add users to domain by system.webserver add user allowtype="allow" and all that but it still ask for login.

does anyone have idea about this ?

1 solution

If you are using Windows Authentication, it means that the local windows account on the users system should be a valid windows account on the computer where your web application is running. So it means that users can use it without entering passwords only if the local accounts are valid on your server also. It will happen only when you have proper local network setup where a local server controls the user account for all the computers, instead of using the local accounts on each pc.
Share this answer
ravikhoda 2-Apr-14 8:42am    
well truly speaking this window authentication is bit new thing for me what happen is that when i open site from IIS using local host on my machine it works and give me current user identity but when i open the same site by ip addresss it ask for login on every browser.

i have identity impersonate=true and authentication mode = window. all other authentication mode are disable. and as i am not sure about permission on directory currently i have applied full control to everyone on the folder from the security tab.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900