Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #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

Reply With Quote
  #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
Reply With Quote
  #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

Reply With Quote
  #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
Reply With Quote
  #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

Reply With Quote
  #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,413
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 01:35 AM
ASP.Net Single Single-on with Oracle Application S guhanath Oracle 0 October 6th, 2004 06:05 AM
ASP dot net Ankita BOOK: Beginning ASP.NET 1.0 1 March 26th, 2004 04:29 PM



All times are GMT -4. The time now is 03:20 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.