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
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Application State in ASP and ASP.NET
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password