We are currently deploying an ASP.Net intranet application to our WAN. The
application uses integrated Windows authentication. At present, each time
there is a post-back, our code gets the user’s credentials and queries to see
whether the user is a member of certain Active Directory groups.
In order to improve availability in various disaster scenarios, we deploy
the application to a separate server at each of our 25 physical locations
around the country. There is also a separate domain controller at each
location. The idea is that even if the WAN fails, our application can still
run, provided that the local network is still up.
I have two questions regarding availability in various disaster recovery
scenarios.
1. If the local domain controller fails, will post-backs fail because of our
use of integrated Windows authentication?
2. Each time we query the user’s credentials, are round-trips to the domain
controller involved, or do the credentials get cached somewhere? We would be
willing to assume that the user's credentials don't change during a single
ASP.Net session.
Paul Clement - 14 Oct 2004 20:21 GMT
¤ We are currently deploying an ASP.Net intranet application to our WAN. The
¤ application uses integrated Windows authentication. At present, each time
¤ there is a post-back, our code gets the users credentials and queries to see
¤ whether the user is a member of certain Active Directory groups.
¤
¤ In order to improve availability in various disaster scenarios, we deploy
¤ the application to a separate server at each of our 25 physical locations
¤ around the country. There is also a separate domain controller at each
¤ location. The idea is that even if the WAN fails, our application can still
¤ run, provided that the local network is still up.
¤
¤ I have two questions regarding availability in various disaster recovery
¤ scenarios.
¤
¤ 1. If the local domain controller fails, will post-backs fail because of our
¤ use of integrated Windows authentication?
¤
Not if you have a backup domain controller by which authentication can occur with respect to
resource access.
¤ 2. Each time we query the users credentials, are round-trips to the domain
¤ controller involved, or do the credentials get cached somewhere? We would be
¤ willing to assume that the user's credentials don't change during a single
¤ ASP.Net session.
Credentials (user ID and password) are cached at the browser level on the client.
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
howard@nospam.nospam - 14 Oct 2004 21:51 GMT
Is information from Active Directory, namely group membership, cached?
Paul Clement - 15 Oct 2004 13:20 GMT
¤ Is information from Active Directory, namely group membership, cached?
No, not automatically. If you are querying AD with ADSI or DirectoryServices programmatically you
would have to implement one of the various state or caching mechanisms in code if you wish to retain
this information between trips to the web server.
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
howard@nospam.nospam - 15 Oct 2004 17:15 GMT
Thanks!
> ¤ Is information from Active Directory, namely group membership, cached?
>
[quoted text clipped - 4 lines]
> Paul ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)
Patrick.O.Ige - 21 Oct 2004 11:24 GMT
How can i do these Caching mechanisms?
> ? Is information from Active Directory, namely group membership, cached?
>
[quoted text clipped - 4 lines]
> Paul ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)
Paul Clement - 26 Oct 2004 17:18 GMT
¤ How can i do these Caching mechanisms?
¤
See the following:
Caching Architecture Guide for .NET Framework Applications
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/Cach
ingArchch2.asp
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)