Sharing Login Credentials in ASP

R

rehanfarha

Hi All

We have two applications say A and B and both are deployed on
different servers. If user has to access B application then user has
to login in A application and then user will be redirected to B.
It means sharing session or cookies between two application.

How can we achieve that?

One way I know is storing session details in db and retrieving those
details from DB.

Can some body suggest a better approach?

Thanks in advance

Rehan Mustafa Khan
 
A

Anthony Jones

Hi All

We have two applications say A and B and both are deployed on
different servers. If user has to access B application then user has
to login in A application and then user will be redirected to B.
It means sharing session or cookies between two application.

How can we achieve that?

One way I know is storing session details in db and retrieving those
details from DB.

Can some body suggest a better approach?

'Better' is very subjective especially with the minimul context you've
provided. However most applications require some form of DB so the general
answer is there isn't a better way to do what you want one. Use the DB to
share session information.
 

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
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top