Monday, March 26, 2012

mixing classic ASP with .Net

we've got a large site that was built using classic ASP. i've read that
session state info can't be shared between classic and .Net, but, as the
client continues to add new functionality to the site, i'd like to move the
development to .Net. is it possible to share info like my login/permission
session cookies between the two frameworks? what other issues am i going to
run into with trying to add .Net pages into classic ASP?

tksYes, you can reuse cookies, in my ASP.NET I use the new authentication
mechanism, but also check and set the old cookie separate.
You can still add develop classic ASP page in a ASP.NET project. There
is no "New Item" option for it, but you can just choose text file and
give it a .asp ending.

Remy Blaettler
www.collaboral.com
Check this out :
http://weblogs.asp.net/bleroy/archi.../21/245826.aspx

Essentially :

All solutions incur a performance cost as the data has to be marshaled
between the COM world of ASP and the .NET world of ASP.NET.

First, theres a solution in MSDN:
http://msdn.microsoft.com/library/d...toaspnet.aspbut it necessitates modifications on both sides and needs a database,which could degrade the applications performance.There are also a few commercial products, all in the $200 to $300 range: http://www.consonica.com/solutions/statestitch/which just requires one include on top of each ASP page that uses the session.One drawback is that it doesnt support COM objects in the session,except for Dictionary. http://www.sessionbridge.com/which requires more code changes to all places where the ASP session is used.Then, there's http://www.dotnetguru.org/articles/...2ASPNET.htmland : http://www.dotnetguru.org/articles/...P2ASPNET.htmlBy the time you have read through these, you'll probablyhave enough information to select a method to do what youwant to do, and implement it.Juan T. Llibre, ASP.NET MVPASP.NET FAQ : http://asp.net.do/faq/Foros de ASP.NET en Espaol : http://asp.net.do/foros/======================================"Dica" <genpub5@.hotmail.com> wrote in message news:VoidnTJj77UV2MveRVn-3g@.rogers.com...> we've got a large site that was built using classic ASP. i've read that> session state info can't be shared between classic and .Net, but, as the> client continues to add new functionality to the site, i'd like to move the> development to .Net. is it possible to share info like my login/permission> session cookies between the two frameworks? what other issues am i going to> run into with trying to add .Net pages into classic ASP?>> tks
Hmmm...

OE flubbed up some links.

Here they are again :

http://msdn.microsoft.com/library/d...erttoaspnet.asp http://www.consonica.com/solutions/statestitch/ http://www.sessionbridge.com/ http://www.dotnetguru.org/articles/...ASPNET.htmlJuan T. Llibre, ASP.NET MVPASP.NET FAQ : http://asp.net.do/faq/Foros de ASP.NET en Espaol : http://asp.net.do/foros/======================================"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in messagenews:eUfiCBL1FHA.2212@.TK2MSFTNGP15.phx.gbl. ..> Check this out :> http://weblogs.asp.net/bleroy/archive/2004/10/21/245826.aspx>> Essentially :>> All solutions incur a performance cost as the data has to be marshaled> between the COM world of ASP and the .NET world of ASP.NET.>> First, theres a solution in MSDN:>http://msdn.microsoft.com/library/d...toaspnet.aspbut it necessitates modifications on both sides and needs a database,which coulddegrade the applications performance.There are also a few commercial products, all in the$200 to $300 range: http://www.consonica.com/solutions/statestitch/which just requires oneinclude on top of each ASP page that uses the session.One drawback is that it doesntsupport COM objects in the session,except for Dictionary.http://www.sessionbridge.com/which requires more code changes to all places where the ASPsession is used.Then, there'shttp://www.dotnetguru.org/articles/us/ASP2ASPNET/ASP2ASPNET.htmland :http://www.dotnetguru.org/articles/...P2ASPNET.htmlBy the time you have readthrough these, you'll probablyhave enough information to select a method to do whatyouwant to do, and implement it.Juan T. Llibre, ASP.NET MVPASP.NET FAQ :http://asp.net.do/faq/Foros de ASP.NET en Espaol :http://asp.net.do/foros/======================================"Dica" <genpub5@.hotmail.com>wrote in message news:VoidnTJj77UV2MveRVn-3g@.rogers.com...> we've got a large site thatwas built using classic ASP. i've read that> session state info can't be shared betweenclassic and .Net, but, as the> client continues to add new functionality to the site, i'dlike to move the> development to .Net. is it possible to share info like mylogin/permission> session cookies between the two frameworks? what other issues am igoing to> run into with trying to add .Net pages into classic ASP?>> tks

0 comments:

Post a Comment