473,386 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 1296
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*******@discussions.microsoft.comwrote in message
news:58**********************************@microsof t.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
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...
3
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...
5
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...
2
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...
6
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...
8
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...
0
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...
3
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...
20
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...

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.