473,508 Members | 2,236 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

run ASP and ASPX on same site?

It's a long story about why I'm asking, but if a .NET-built site is running
on Windows 2000/IIS, can I put up some classic ASP pages? It will be under
the same domain name, just on the aspx pages, they will have a hyperlink to
my ASP pages, just like if they linked to any other web pages.

I just called the tech guys at the hosting company of this site, and they
said it would work, but they are also pretty new to .Net, so I thought I'd
ask here.

Disclaimer 1: I already looked at aspfaq.com.

Disclaimer 2: I realize I used the phrase "ASP pages" in this post, which is
redundant along the lines of NIC Card, ATM Machine, and PINor VIN Number.
Jul 19 '05 #1
2 2499
Yes, you can mix ASP and ASP.NET pages. Just remember that since two
different "engines" process each of these, you can not share
session/application information between two pages. Also, for the same
application, you need separate global.asa and global.asax scripts, since the
events in each of the pages is processed separately. However, you can share
cookies on the same domain.

--
Manohar Kamath
Editor, .netBooks
www.dotnetbooks.com
"middletree" <mi********@htomail.com> wrote in message
news:ex*************@TK2MSFTNGP12.phx.gbl...
It's a long story about why I'm asking, but if a .NET-built site is running on Windows 2000/IIS, can I put up some classic ASP pages? It will be under
the same domain name, just on the aspx pages, they will have a hyperlink to my ASP pages, just like if they linked to any other web pages.

I just called the tech guys at the hosting company of this site, and they
said it would work, but they are also pretty new to .Net, so I thought I'd
ask here.

Disclaimer 1: I already looked at aspfaq.com.

Disclaimer 2: I realize I used the phrase "ASP pages" in this post, which is redundant along the lines of NIC Card, ATM Machine, and PINor VIN Number.

Jul 19 '05 #2
Thanks. Since there won't be cookies or sessions involved in my case, this
sounds like it should go pretty smoothly.
"Manohar Kamath [MVP]" <mk*****@TAKETHISOUTkamath.com> wrote in message
news:O#**************@TK2MSFTNGP12.phx.gbl...
Yes, you can mix ASP and ASP.NET pages. Just remember that since two
different "engines" process each of these, you can not share
session/application information between two pages. Also, for the same
application, you need separate global.asa and global.asax scripts, since the events in each of the pages is processed separately. However, you can share cookies on the same domain.

--
Manohar Kamath
Editor, .netBooks
www.dotnetbooks.com
"middletree" <mi********@htomail.com> wrote in message
news:ex*************@TK2MSFTNGP12.phx.gbl...
It's a long story about why I'm asking, but if a .NET-built site is running
on Windows 2000/IIS, can I put up some classic ASP pages? It will be under the same domain name, just on the aspx pages, they will have a hyperlink

to
my ASP pages, just like if they linked to any other web pages.

I just called the tech guys at the hosting company of this site, and they said it would work, but they are also pretty new to .Net, so I thought I'd ask here.

Disclaimer 1: I already looked at aspfaq.com.

Disclaimer 2: I realize I used the phrase "ASP pages" in this post, which is
redundant along the lines of NIC Card, ATM Machine, and PINor VIN

Number.


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4372
by: Arthur | last post by:
I have a mix web site, ASP and ASPX files. I have assigned a value to Session("Date") and the href to an ASPX page. When I further href to another ASP Page. The content in Session("Date") becoming...
10
3206
by: moondaddy | last post by:
I'm writing an ecommerce app in asp.net/vb.net and need to make the pages searchable and crawlable by spiders, particularly Google's. As far as I know, if my pages's contents are mostly populated...
4
1877
by: Trond Meistad | last post by:
I have a website where I run a simple asp.net web application. On Sunday night, requests to this webapplication started to time out. After much debuggeing with no result, I created a new...
2
1995
by: WJ | last post by:
I have three ASPX pages: 1. "WebForm1.aspx" is interactive, responsible for calling a web site (https://www.payMe.com) with $$$. It is working fine. 2. "WebForm2.aspx" is non-interactive, a...
3
1893
by: dave | last post by:
I need to add additional .aspx pages to an existing web site. I was hoping to create a new web project in VS 2003, build the project, copy the .aspx files and the .dll into the virtual directory...
13
4485
by: Matt | last post by:
Does anyone know how to hide the ASPX extension of web pages in ASP.Net 2.0? Thanks, Matt
6
4684
by: BizWorld | last post by:
Hi, I have a scenario where i need to configure only Login.aspx page to use SSL. All other application will run on HTTP protocol. If someone can guide me how to accomplish this. One of my idea...
4
1153
by: Jman | last post by:
Let's say I have a session variable in my asp.net website. Now I have an aspx file on my C drive. Now I have a link pointing to it so I can click on it and execute this ASPX file to my browser....
7
3712
by: JeremyWoertink | last post by:
I have an app that I need to make changes to, and on my local copy I have a start.aspx.vb file that I edited and tested, now when I go to the app on the server, it doesn't show any of the .vb...
8
4898
by: Darrel | last post by:
I'm helping convert a 300+ page .html site into an ASP.net site. The client wants to set up 301 redirects for all of the old html pages. I've used ISAPI for this type of thing in the past, as it...
0
7227
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7127
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7331
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7391
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.