Re: ASP session vs. ASP.NET session
From: Peter Rilling (peter_at_nospam.rilling.net)
Date: 02/01/04
- Next message: Keith: "Re: Major security issue?"
- Previous message: Ed: "ASP session vs. ASP.NET session"
- In reply to: Ed: "ASP session vs. ASP.NET session"
- Next in thread: Keith: "ASP session vs. ASP.NET session"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 31 Jan 2004 21:05:23 -0800
No. Your best bet might be to use something like cookies.
Unless there is no other way for your problem, I would suggest not mixing
code environments. The reason being that ASP and ASP.NET are handled by
entirely different execution engines. You run into a lot of problems as one
group of pages does not know that the other exists. Because they use
different engines, the do not share memory space. This can lead to logical
inconsistencies. Suppose that a user accesses your home page, which might
be ASP.NET. A session is started. Now, they navigate to another page that
is ASP only. A second session is started, even though logically the user is
in the same web application.
I think this is how things work.
"Ed" <eddiemarino@hotmail.com> wrote in message
news:ep9Lu4H6DHA.2472@TK2MSFTNGP10.phx.gbl...
> Is it possible to define a SESSION("userid") in ASP and then retrieve its
> value from ASP.NET? (Suppose I have an application in both ASP and
> ASP.NET.)
>
> Thanks.
>
>
- Next message: Keith: "Re: Major security issue?"
- Previous message: Ed: "ASP session vs. ASP.NET session"
- In reply to: Ed: "ASP session vs. ASP.NET session"
- Next in thread: Keith: "ASP session vs. ASP.NET session"
- Messages sorted by: [ date ] [ thread ]