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

Re: Sharing Login Credentials in ASP by Anthony

Anthony
Thu Sep 27 03:36:30 PDT 2007

<rehanfarha@gmail.com> wrote in message
news:1190872876.961393.150570@y42g2000hsy.googlegroups.com...
> 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.

--
Anthony Jones - MVP ASP/ASP.NET