473,796 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Site Headers

I have a simple question that I would like some opinions on regarding common
web site headers. I have several web sites (IIS 6), spread across different
physical machines that have the same web site header. They are currently a
mix of ASP.NET 2.0, 1.1, and plain old HTML pages. For years, I have used
ASP.NET user controls for the server-side headers and external JavaScript
files to inject the common headers into the HTML files. What I would like is
a single header source for every different type of page I serve (ASP.NET and
HTML). Without migrating my HTML to ASP.NET, is external JavaScript the best
way to do this (I don’t particularly care for this method)? What kind of
performance implication would using server-side includes have? I’d just like
some opinions on what seems like a remedial subject.
Jan 24 '07 #1
1 1311
One design may consider the header area as if it were a banner ad served
from server-side code to multiple requesting websites. Static HTML pages
could require the use of JavaScript or an #include directive but dynamic
pages such as those compiled on the server would probably have some other
method to respond to some type of request to send the contents of the header
to a requesting page. I keep thinking of the banner ad model and that is how
I would think of populating a bunch of different pages with the same header
requested from a central source.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/
MAP http://wikimapia.org/#y=43038073&x=-...8&z=17&l=0&m=h

"KittyHawk" <Ki*******@disc ussions.microso ft.comwrote in message
news:58******** *************** ***********@mic rosoft.com...
>I have a simple question that I would like some opinions on regarding
common
web site headers. I have several web sites (IIS 6), spread across
different
physical machines that have the same web site header. They are currently a
mix of ASP.NET 2.0, 1.1, and plain old HTML pages. For years, I have used
ASP.NET user controls for the server-side headers and external JavaScript
files to inject the common headers into the HTML files. What I would like
is
a single header source for every different type of page I serve (ASP.NET
and
HTML). Without migrating my HTML to ASP.NET, is external JavaScript the
best
way to do this (I don't particularly care for this method)? What kind of
performance implication would using server-side includes have? I'd just
like
some opinions on what seems like a remedial subject.

Jan 25 '07 #2

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

Similar topics

5
11201
by: David Rasmussen | last post by:
Some sites seem to be session driven in the sense that if I visit the homepage and do a few clicks I can navigate anywhere I want, but if I paste the current location into a new browser window after having navigated to some page, it doesn't work. It just returns to the start page or says "timeout" etc. This means that I can't read these pages from PHP with $string = file_get_contents('http://some.url/blah/deep/link');
3
2605
by: RTL | last post by:
Hello all, Actually, we're letting several of our domain names go back into the field. I believe there must be some industry way to use some HTML element/tag to get the Spiders to start updating their links to our main site for the remainder of the domain's life. I have found this meta element/tag, but that doesn't help with what we want to accomplish:
5
2106
by: gerry | last post by:
single machine - W2Kserver , IIS5 , VS.NET 2003 I spent some time struggling with what looked like the dreaded asp.net debugging configuration problem but none of the solutions for this did any good. Outside of the ide I am able to browse to an existing web app with no problem and I can load the web app project in the visual studio ide and run it 'without debugging' . But I am unable to run it with debugging within the ide - "Error...
2
1167
by: Jason Hanks | last post by:
Hi, are there any examples that demonstrate how to build an ASP.NET page with consistent parts of the layout, such as page headers, footers, and navigation links (such as going into each section like Products, Company, Services, etc)? I know there are controls that you can use to build menus like ASP.NET menu. But I'm talking more about the graphical elements and layout that needs to be part of each page. For example when I designed...
6
3638
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a list of all of my webs, however if I attempt to open a site under and web other than localhost I receive the message: "Unable to open the Web 'http://localhost/anywebappname'. The Web 'http://localhost/anywebappname' does not exist" Obviously...
8
1842
by: news.microsoft.com | last post by:
I have two completely distinct ASP.NET (2.0) web applications. They share no code, they have distinct web.config files, they don't even link to each other. During development, they have lived happily side by side in two virtual directories in the same IIS website. e.g. http://localhost/dotnetnuke and http://localhost/mobilephoneapp Now they are ready to be deployed to a production webserver (IIS 6.0). I want the first app to be run...
0
1035
by: Stu | last post by:
Hi, I need to post log in details from one web site to another to log the user in to one of two sites. The user will enter a username and password in to textboxes on site 'A', and depending on the format of the username they will be logged in to either site B or site C. I am generating a form post from the code behind, but the login page I am posting to returns a code 200 (OK), but no redirect URI - so the original page just reloads....
3
4026
by: Gregory A Greenman | last post by:
I'm trying to screen scrape a site that requires a password. If I access the site's login page in my browser and view the source, I see that it does not contain a viewstate. When my program posts the login information, the response I get is the same page as if I had logged in using my browser. In the page it says "Welcome" followed by my name. The cookie collection returned doesn't contain any cookies (response.cookies.count = 0).
20
4289
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site is structured as an upside-down tree, and (if I remember correctly) never more than 4 levels. The site basically grew (like the creeping black blob) ... all the pages were created in Notepad over the last
0
9683
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10013
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9054
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7550
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5443
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4119
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
3
2927
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.