ASP.Net Session variables read with ASP?

  • Thread starter Thread starter Mark
  • Start date Start date
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
 
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
 
Back
Top