ASP.Net Session variables read with ASP?

M

Mark

Is it possible to read ASP>NET session variables using ASP without using
querystring?

I need to pass a username and password to an asp page from an ASP.Net page.

Specifically, from an app written in ASP.NET to a subfolder in that app
containing a forum app (snitz) written in asp. The user logs in at the
default page of the asp.net app, and I don't want to not have them to have
to log in when they reach the forum.

Thanks,
Mark
 
S

Steve C. Orr [MVP, MCSD]

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
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top