Need single sign on solution?

V

Varun Goel

Hi All,
I am doing my site user authentication through LDAP server and my
company has 3 more sites with different technologies and they are also
doing user authentication through LDAP server.
Now we want that when user logged in my application 1.domain.com then
user also logged in other application 2.domain.com and 3.domain.com.
Please help me out.
I will be so thankful to all of you?

If u r saying bout session or cookies please give some code example or
detailed description.

Thanks & Regards,
Varun Goel
 
D

Dan Fitzpatrick

Varun said:
Hi All,
I am doing my site user authentication through LDAP server and my
company has 3 more sites with different technologies and they are also
doing user authentication through LDAP server.
Now we want that when user logged in my application 1.domain.com then
user also logged in other application 2.domain.com and 3.domain.com.
Please help me out.
I will be so thankful to all of you?

If u r saying bout session or cookies please give some code example or
detailed description.

Thanks & Regards,
Varun Goel

Conceptually, you can assign a session cookie scoped to your domain. So
every host on the domain will receive the cookie with each request. The
cookie can be a key that is stored in the LDAP server or an application
you write. When queried with the key it will return the user data. You
can also encrypt the user data into the cookie itself. This would
require each app that uses the cookie know how to decrypt it.

Cookies are set differently for different frameworks and libs. See your
framework or lib documentation for specifics. The domain part of the
cookie should be something like ".example.com"

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top