session state between ASP and ASP.NET

  • Thread starter Thread starter Dan Vanderboom
  • Start date Start date
D

Dan Vanderboom

Is there any way to read ASP Session variables from an ASP.NET application?
Also... I was able to read some cookie values from ASP to ASP.NET, but one
of the cookies had a collection of values. Is there a way to retrieve those
by name instead of by index?
 
There is no single 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:
http://www.consonica.com/solutions/dotnet/statestitch/index.html)
* Use COM Interop to provide an object that both sides can access that
handles the data.
Here's an example of the latter:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ConvertToASPNET.asp
 
I know there are 3rd party components that can do this. Don't know a
name but you might want to search google.

Regards

Freek Versteijn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top