Thursday, March 29, 2012

Sharing Session State between Applications

I'm looking to carry the session across from one ASP.Net application to
another. I'm currently using SQL Server to store session state information.
What would be the best way of doing this?

ThanksUsing sql server for session state is the recommended way to use sessions
across applications.

Sudhakar Sadasivuni
http://one.mvpblog.com
http://www.mugh.net

"Martin Lee" wrote:

> I'm looking to carry the session across from one ASP.Net application to
> another. I'm currently using SQL Server to store session state information.
> What would be the best way of doing this?
>
> Thanks
Thanks for that Sudhakar. However, what I was looking for was the mechanism
by which I would "get" the session from the application that I've left and
use it in the application that I've redirected to. The two applications
unfortunately live in their own separate websites under IIS, albeit on the
same machine. Would this cause a problem?

"Sudhakar Sadasivuni[mvp]" wrote:

> Using sql server for session state is the recommended way to use sessions
> across applications.
> Sudhakar Sadasivuni
> http://one.mvpblog.com
> http://www.mugh.net
>
> "Martin Lee" wrote:
> > I'm looking to carry the session across from one ASP.Net application to
> > another. I'm currently using SQL Server to store session state information.
> > What would be the best way of doing this?
> > Thanks
No, It does'nt matter of Physical or logical location.

Sudhakar Sadasivuni
http://one.mvpblog.com
http://www.mugh.net

"Martin Lee" wrote:

> Thanks for that Sudhakar. However, what I was looking for was the mechanism
> by which I would "get" the session from the application that I've left and
> use it in the application that I've redirected to. The two applications
> unfortunately live in their own separate websites under IIS, albeit on the
> same machine. Would this cause a problem?
> "Sudhakar Sadasivuni[mvp]" wrote:
> > Using sql server for session state is the recommended way to use sessions
> > across applications.
> > Sudhakar Sadasivuni
> > http://one.mvpblog.com
> > http://www.mugh.net
> > "Martin Lee" wrote:
> > > I'm looking to carry the session across from one ASP.Net application to
> > > another. I'm currently using SQL Server to store session state information.
> > > What would be the best way of doing this?
> > > > > Thanks

0 comments:

Post a Comment