[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

Application State in ASP and ASP.NET

Paul Ashford

11/20/2002 10:18:00 AM

Hi.

If I store some values in the Application object in a normal ASP page, when
I try and call that value in a ASPX page the object cannot be found ? Any
ideas ?

Thanks
Paul


1 Answer

Steve C. Orr, MCSD

11/20/2002 10:24:00 AM

0

You cannot share sessions or application state directly between ASP and
ASP.NET pages.
You'll have to use another technique to transfer data between the two
worlds.
Here are some common ways:
* Pass data from page to page on the QueryString
* Store the data in a common database
* Store the data in cookies
* Use COM Interop to provide an object that both sides can access that
handles the data.

--
I hope this helps,
Steve C. Orr, MCSD
http://Ste...


"Paul Ashford" <paul.ashford@vectra-it.co.uk> wrote in message
news:#OMuCXHkCHA.1652@tkmsftngp11...
> Hi.
>
> If I store some values in the Application object in a normal ASP page,
when
> I try and call that value in a ASPX page the object cannot be found ? Any
> ideas ?
>
> Thanks
> Paul
>
>