473,586 Members | 2,546 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 2502
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********@hto mail.com> wrote in message
news:ex******** *****@TK2MSFTNG P12.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*****@TAKETH ISOUTkamath.com > wrote in message
news:O#******** ******@TK2MSFTN GP12.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********@hto mail.com> wrote in message
news:ex******** *****@TK2MSFTNG P12.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
4383
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 blank. Is it in design? Or bug? Is there any work around solution? Also, Is there any way to secure my ASPX source code from client? I don't...
10
3220
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 by user controls on a single page and I call these different controls by passing one or more parameters like this: ...
4
1879
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 webapplication with one aspx page that displays only a text. I uploaded this page and the dll, but requests to this page also times out. So my problem...
2
1997
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 listener in my site to capture a "STATUS_CD" returned by www.payMe.com. It is working fine. 3. "WebForm3.aspx" is interactive page, responsibe to...
3
1898
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 of the existing web site. The existing web site would have a page with a link to the new web pages. I am getting the error of "It is an error to...
13
4497
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
4689
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 is to keep login.aspx page in a seperate Virtual director and apply SSL only on that directory but i dont know if it will have an impact on session...
4
1156
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. Only me has this file on my C drive and can execute it. Other users will obviously get a page not found. In the load section on the aspx file, I...
7
3715
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 files, only the .aspx files. How can I make it show me the .vb file? ~Jeremy
8
4913
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 works great and is easy to set up, but at this point, the client (which is my client, who's working with the actual client) doesn't know what the...
0
8204
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6617
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5712
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1184
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.