|
|
 |
| 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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

February 14th, 2007, 08:35 AM
|
|
Registered User
|
|
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

February 14th, 2007, 09:21 AM
|
|
Wrox Author
Points: 12,827, Level: 49 |
|
|
Join Date: Oct 2005
Location: Akron, Ohio, USA.
Posts: 4,029
Thanks: 1
Thanked 42 Times in 42 Posts
|
|
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
|

February 15th, 2007, 12:23 AM
|
|
Registered User
|
|
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok, Whether I will face any other problem other then Session for other scenarios
|

February 15th, 2007, 12:34 AM
|
|
Wrox Author
Points: 12,827, Level: 49 |
|
|
Join Date: Oct 2005
Location: Akron, Ohio, USA.
Posts: 4,029
Thanks: 1
Thanked 42 Times in 42 Posts
|
|
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
|

February 15th, 2007, 01:00 AM
|
|
Registered User
|
|
Join Date: Feb 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Other Scenarios like, Database connection, COM ,Cookies,application variable ,Passing Values between asp and asp.net pages,global.asa ,global.asax pages ,etc
|

February 21st, 2007, 12:26 PM
|
 |
Friend of Wrox
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |