Home All Groups Group Topic Archive Search About

Session sharing between ASP and ASP.NET

Author
13 Nov 2006 6:37 AM
princessjewel62
Hi,

I would like to ask if there is a possibility that a single session is
used in a web application that contains ASP and ASP.NET application
together for business applications. If yes, how can it be done? Thank
you..

Author
13 Nov 2006 6:03 PM
David Longnecker
As far as I know, the only solution to this would be to store your session
in a SQL Database or using Billy Yuen's MSDN writeup (
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp).

In my opinion, and though it may vary depending on the nature of your application,
a database to store temporary information based on GUID or some other form
of session key generated when the user hits the site and persists during
the duration of their visit, would be easier than Yuen's example.

Rather than reading from Session["key"], you would simply have stored procedures
that read from the temporary store database.

In addition, some Googling has turned up alternatives that I haven't tired--you
might check them out.

http://weblogs.asp.net/bleroy/archive/2004/10/21/245826.aspx
http://www.eggheadcafe.com/articles/20021207.asp
http://www.asp101.com/articles/sidney/sharingsessionstate/default.asp

Hope this helps!

-dl

---
David Longnecker
Web Developer
http://blog.tiredstudent.com

Show quoteHide quote
> Hi,
>
> I would like to ask if there is a possibility that a single session is
> used in a web application that contains ASP and ASP.NET application
> together for business applications. If yes, how can it be done? Thank
> you..
>
Author
16 Nov 2006 3:03 AM
princessjewel62
Hi there,

I've tried some of them but I can't get it to work. I'll try my best.
But I am thanking you.

Cheers,
Crystalite.


David Longnecker wrote:
Show quoteHide quote
> As far as I know, the only solution to this would be to store your session
> in a SQL Database or using Billy Yuen's MSDN writeup (
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/converttoaspnet.asp).
>
> In my opinion, and though it may vary depending on the nature of your application,
> a database to store temporary information based on GUID or some other form
> of session key generated when the user hits the site and persists during
> the duration of their visit, would be easier than Yuen's example.
>
> Rather than reading from Session["key"], you would simply have stored procedures
> that read from the temporary store database.
>
> In addition, some Googling has turned up alternatives that I haven't tired--you
> might check them out.
>
> http://weblogs.asp.net/bleroy/archive/2004/10/21/245826.aspx
> http://www.eggheadcafe.com/articles/20021207.asp
> http://www.asp101.com/articles/sidney/sharingsessionstate/default.asp
>
> Hope this helps!
>
> -dl
>
> ---
> David Longnecker
> Web Developer
> http://blog.tiredstudent.com
>
> > Hi,
> >
> > I would like to ask if there is a possibility that a single session is
> > used in a web application that contains ASP and ASP.NET application
> > together for business applications. If yes, how can it be done? Thank
> > you..
> >