Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 14th, 2007, 08:35 AM
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default asp and asp dot net in single application

I have developed part of application in asp, now I am going to develop remaining part of the application in asp dot net. My question is whether it is possible to do so.

Suresh

  #2 (permalink)  
Old February 14th, 2007, 09:21 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Yes it is possible, however the 2 technologies don't share the same Session state so, any Session values created in asp will be inaccessible using the Session() object in .NET.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
  #3 (permalink)  
Old February 15th, 2007, 12:23 AM
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, Whether I will face any other problem other then Session for other scenarios

  #4 (permalink)  
Old February 15th, 2007, 12:34 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

What are "other" scenarios?

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
  #5 (permalink)  
Old February 15th, 2007, 01:00 AM
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Other Scenarios like, Database connection, COM ,Cookies,application variable ,Passing Values between asp and asp.net pages,global.asa ,global.asax pages ,etc

  #6 (permalink)  
Old February 21st, 2007, 12:26 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Database connections are just connections. You can connect to the same database from any application that supports it without problems.

ASP and ASP.net can both use COM components without problems apart from the usual DLL hell and possible .NET interoperability difficulties.

You may experience problems with cookies because of the way application roots are written in cookies. A ASP.NET app will always have a virtual directory application (whether it's the server root or an actual virtual). ASP doesn't always follow the same pattern.

asa is for classic ASP. asax is .NET. The two don't mix.

Passing values between application contexts requires writing the values to a persistent medium (i.e. database, file, etc) or passing over the query string. As mentioned you can't share values using the *native* session technologies. That is not to say that a custom built session management system can't. However, you still need a way to carry a session identifier between the applications (usually querystring).

-Peter


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Dot Net Programme not running ayan.mukherjee Generics 1 December 6th, 2007 11:01 AM
ASP dot net table jijish ASP.NET 2.0 Professional 2 November 22nd, 2007 02:26 AM
template in asp dot net shinedas ASP.NET 1.0 and 1.1 Basics 0 October 8th, 2005 12:35 AM
ASP.Net Single Single-on with Oracle Application S guhanath Oracle 0 October 6th, 2004 05:05 AM
ASP dot net Ankita BOOK: Beginning ASP.NET 1.0 1 March 26th, 2004 04:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.