Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Track users again LDAP Login

Status
Not open for further replies.

mzbutler

IS-IT--Management
Apr 9, 2010
2
GB
Hi, I am not sure what is the best way to approach this. I need to authenticate users against LDAP. However, i also need to track them through an application. What is the best way to do this? Normally, I would create a login page that authenticate against a database that tracks their session, but instead I have had to authenticate against active directory. Do I need to combine the login page to authenticate against LDAP and also a database to track their sessions. Please advise.
 
in the web.config set authentication to Windows and enable impersonation. from there you can track the user via the HttpContext.User

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top