Session scope ASP vs. ASP.net

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
 
S

Scott M.

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.
 

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

Top