Sharing Login Credentials in ASP

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
rehanfarha [ Do, 27 September 2007 08:01 ] [ ID #1830683 ]

Re: Sharing Login Credentials in ASP

<rehanfarha [at] gmail.com> wrote in message
news:1190872876.961393.150570 [at] 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
Anthony Jones [ Do, 27 September 2007 12:36 ] [ ID #1830684 ]
Webserver » microsoft.public.inetserver.asp.general » Sharing Login Credentials in ASP

Vorheriges Thema: treeview event
Nächstes Thema: How to Handle Many Page Links in a Search?