Session scope ASP vs. ASP.net

  • Thread starter Thread starter Jay Esguerra
  • Start date Start date
J

Jay Esguerra

I have a session variable defined in .NET as "session
("div")"....my questions is...is it possible to take the
value of that session and use it in .ASP page.

Otherwise, I have declared a variable in a .aspx page can
I evaluate that same value when moving to a .ASP page.

Any suggestions or ideas....

Jay Esguerra
Web Progammer
Roth Staffing
 
Classic ASP and ASP.NET were designed for "side-by-side" execution. This
means they can both be installed on the same server without conflicts.

While both architectures do expose response, request, server and session,
they are NOT the same response, request, server and session objects. So
data stored in one session object can not (directly) be pulled out from
another.

Now, this doesn't mean there aren't work-arounds. You would simply have to
have your Classic ASP page pull the values out of its session and store them
in a location that the .aspx page can retrieve from. This could be a text
file, a database, or a cookie.
 
Back
Top