- Jun 2, 2008
- 163
- 0
- 0
I have a few questions on how to approach this.
We have a LDAP server/corporate site and we are developing a ASP.NET app.
What I want to do is once a user logs onto our corporate site, to be able to to try to log onto our ASP.NET app. (We have the method on capturing the LDAP username)
So say a user logs onto our corporate site.
Now the user wants to visit the ASP.NET site.
The ASP.NET site catches the user name and reads our database.
If the user exists allow them on the site with the role attached to that user, if not route them to a Not Authorized page.
What I'm wondering is if I should use cookies or some kind of session variable?
Right now I'm using cookies with forms authentication but it seems kind of redundant as the corporate site already has a cookie in place.
What I really want to do is give this site a single sign on feel.
We have a LDAP server/corporate site and we are developing a ASP.NET app.
What I want to do is once a user logs onto our corporate site, to be able to to try to log onto our ASP.NET app. (We have the method on capturing the LDAP username)
So say a user logs onto our corporate site.
Now the user wants to visit the ASP.NET site.
The ASP.NET site catches the user name and reads our database.
If the user exists allow them on the site with the role attached to that user, if not route them to a Not Authorized page.
What I'm wondering is if I should use cookies or some kind of session variable?
Right now I'm using cookies with forms authentication but it seems kind of redundant as the corporate site already has a cookie in place.
What I really want to do is give this site a single sign on feel.
