[Webinar] Streamline your web hosting managementRegister Today


asp and  asp.net  applications  on same server

Posted on 2005-05-13
Medium Priority
Last Modified: 2010-04-20
im planning to build new applications and  webpages   in asp.net ,
have there ben any articles written on using Classic ASP and ASP.Net
together. Example, if you have a large ASP application and you want to
write new modules in .Net, how you should go about this. (or should I say
the best way of going about it)

need  some inputs before  installing  .net framework on webserver

thank you.
Question by:gisfolks
LVL 23

Expert Comment

ID: 14004236

ASP .NET is not fully compatible with earlier versions of ASP, so most of the old ASP code will need some changes to run under ASP .NET.

To overcome this problem, ASP .NET uses a new file extension ".aspx". This will make ASP .NET applications able to run side by side with standard ASP applications on the same server.
Look @ here http://www.w3schools.com/aspnet/aspnet_vsasp.asp

Look @ here for more info.



Accepted Solution

madhubk earned 500 total points
ID: 14044038
As suggested by Rama_krishna in the post above, ASP and ASP.Net can co-exist on the same server. The problems that you need to be prepared for is the session variables of both will not be shared, so you might have to use session handling using SQL Server or use Cookies to store user preference data.


Advantages of moving the session handling into Database
1. Even if the user gets session timed out, the shopping cart or other details of the previous session can be retrieved.
2. Accident Closing of the browser window will also retrieve session objects on next login.

1. Using Cookies is not a good method as many of the internet users are not very particular in keeping their browsers not to accept cookies

http://www.codeproject.com/aspnet/AspAspNetSessionBridge.asp another resource on managing session using webservices



Author Comment

ID: 14065925
thanks madhu  and RK.

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses
Course of the Month8 days, 10 hours left to enroll

611 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question