Ask a Question related to ASP.NET General, Design and Development.
-
Steve C. Orr, MCSD #1
Re: Can't read Session Object
There is no great way to share session state between ASP and ASP.NET. But
that doesn't mean you don't have options.
Here are some common ways:
* Store the data in a common database
* Pass data from page to page on the QueryString
* Store the data in cookies
* Use a 3rd party session sharing component
(Here's one:
[url]http://www.consonica.com/solutions/dotnet/statestitch/index.html[/url])
* Use COM Interop to provide an object that both sides can access that
handles the data.
Here's an example of the latter:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ConvertToASPNET.asp[/url]
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Kevin Thomas" <NOSPAMKevinRobertThomas2000@NOSPAMhotmail.com> wrote in
message news:%234v3q83WDHA.1004@TK2MSFTNGP12.phx.gbl...var,> Hi
> I'm running a mixed ASP, ASP.NET web site and I want to read a session> Session("myVar") that I've stored in an asp page from an aspx page.
> However, when I try to read the variable from the session object (i.e.,
> myTextbox.text = Session("myVar")) on the .aspx page, it comes out blank.
>
> How can I read a session var stored on an asp page from an aspx page?
>
> Thanks,
>
> Kevin
>
>
Steve C. Orr, MCSD Guest
-
Can CF read session variables set by ASP?
The website I am maintaining has a combination of ASP and ColdFusion. While I am quite familiar with ASP, I am much less so with ColdFusion. I am... -
adodb.recordset object and the IIS session object
I was looking through the registry of a Windows 2000 Adv. Server I just built and noticed that the adodb.recordset object had been set to "both"... -
Help with 'Object Read Only' ERROR!
Just simple new at this.. my setup is: XP Prof, running IIS Access 2002 I have a simple database that I'm trying to make available via... -
Session Timeout when trying to read database
hi all, can you please tell me what i should do to avoid session timeout when displaying my database info in my asp form... -
Unable to read httpcontext during session end
In my application, I have users that are registered in SQL Server. When they login, a flag is set to indicate they are logged in (dll). The... -
Kevin Thomas #2
Re: Can't read Session Object
Thanks Steve.
Kevin
"Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
news:e0XXdN4WDHA.2268@TK2MSFTNGP11.phx.gbl...[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ConvertToASPNET.asp[/url]> There is no great way to share session state between ASP and ASP.NET. But
> that doesn't mean you don't have options.
>
> Here are some common ways:
> * Store the data in a common database
> * Pass data from page to page on the QueryString
> * Store the data in cookies
> * Use a 3rd party session sharing component
> (Here's one:
> [url]http://www.consonica.com/solutions/dotnet/statestitch/index.html[/url])
> * Use COM Interop to provide an object that both sides can access that
> handles the data.
> Here's an example of the latter:
>blank.>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>
> "Kevin Thomas" <NOSPAMKevinRobertThomas2000@NOSPAMhotmail.com> wrote in
> message news:%234v3q83WDHA.1004@TK2MSFTNGP12.phx.gbl...> var,> > Hi
> > I'm running a mixed ASP, ASP.NET web site and I want to read a session> > Session("myVar") that I've stored in an asp page from an aspx page.
> > However, when I try to read the variable from the session object (i.e.,
> > myTextbox.text = Session("myVar")) on the .aspx page, it comes out>> >
> > How can I read a session var stored on an asp page from an aspx page?
> >
> > Thanks,
> >
> > Kevin
> >
> >
>
Kevin Thomas Guest



Reply With Quote

