Re: Mixing classic ASP and ASP.NET 2.0 security

David Cameron <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Typically with classic ASP, if you aren't using NTLM or Basic, you roll
your own authentication. This basically boils down to two basic methods,
custom cookie or session variables. Session variables are generally the
better option. That is you store something (like a UserID) in a session
variable, and check that the user has this variable set in each page.

There are methods for sharing session variables between classic ASP and
ASP.NET.
http://searchvb.techtarget.com/tip/1,289483,sid8_gci951935,00.html
http://www.eggheadcafe.com/articles/20021207.asp

I've implemented something similar to this on a live and running site,
part of the process of migrating a large site from classic asp to .Net.
The site has been running as a hybrid happily for ~1.5 years quite happily.

My experience of this has been it is very reliable setting .Net session
variables from classic ASP but it is pretty flakey the other way around.
We haven't tracked down exactly why, it has been relatively easy to
program around.

regards
David Cameron

Alex Ivanoff wrote:
> The post you mention talks about ASP.NET 1.x and ASP.NET 2.0. I need to
> mix ASP.NET with classic ASP.
>
>
> On Tue, 28 Nov 2006 14:29:30 -0500, Shawn Wildermuth
> <[email protected]> wrote:
>
>> http://adoguy.com/viewrant.aspx?id=1615
>>
>>
>> Thanks,
>>
>> Shawn Wildermuth
>> Wildermuth Consulting Services, LLC
>> http://adoguy.com
>> C# MVP, MCSD.NET, Author and Speaker
>>
>> -----Original Message-----
>> From: Discussion of building .NET applications targeted for the Web
>> [mailto:[email protected]] On Behalf Of Alex Ivanoff
>> Sent: Tuesday, November 28, 2006 1:53 PM
>> To: [email protected]
>> Subject: [DOTNET-WEB] Mixing classic ASP and ASP.NET 2.0 security
>>
>> What is the best way to share forms-based authentication between classic
>> ASP and ASP.NET?
>>
>> Alex
>>
>> ===================================
>> This list is hosted by DevelopMentor®  http://www.develop.com
>>
>> View archives and manage your subscription(s) at
> http://discuss.develop.com
>> ===================================
>> This list is hosted by DevelopMentor®  http://www.develop.com
>>
>> View archives and manage your subscription(s) at
> http://discuss.develop.com
>
> ===================================
> This list is hosted by DevelopMentor®  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.