CoverYourASP --> Newsletter archives

Free membership

Join in the fun! Sign in
Member Services

Site navigation
Download the entire site!
Search my articles
Free Magazines
Browse the directory

Send me feedback
Buy my boxer shorts

Recommend this page
Printer-friendly page

Resources I recommend
Link to my site
Advertising slashed!
About your privacy
Legal stuff
Site statistics
96 active users
4140 visitors today
3064 pages today
(only part of today)
Tools I use

Copyright © 1999-2016 James Shaw.
All rights reserved.

RSS submissions

Now open source with SourceForge!

Pick a newsletter to read - you can receive these every Saturday by subscribing.

You can also read the article that describes how this is implemented.

undefined NaN NaN

Jun 5 2002

Apr 30 2002

Mar 31 2002

Feb 28 2002

Jan 23 2002

Jan 22 2002

Jan 15 2002

Jan 14 2002

Jan 7 2002

Dec 24 2001

Dec 11 2001

Nov 27 2001

Nov 12 2001

Aug 1 2001

Jul 14 2001

Jun 24 2001

Jun 10 2001

May 26 2001

May 12 2001

Apr 30 2001

Apr 22 2001

Apr 14 2001

Apr 8 2001

Mar 29 2001

Mar 24 2001

Mar 17 2001

Mar 10 2001

Mar 3 2001

Feb 24 2001

Feb 17 2001

Feb 10 2001

Feb 3 2001

Jan 27 2001

Jan 20 2001

Jan 13 2001

Jan 6 2001

Dec 30 2000

Dec 23 2000

Dec 16 2000

Dec 9 2000

Dec 2 2000

Nov 29 2000

Nov 25 2000

Nov 18 2000

Nov 11 2000

Nov 4 2000

Oct 28 2000

Oct 21 2000

Oct 14 2000

Oct 9 2000

Oct 7 2000

Oct 3 2000

Oct 1 2000

Sep 29 2000

Sep 27 2000

Sep 25 2000

Sep 23 2000

Sep 21 2000

Sep 18 2000

Sep 14 2000

Sep 11 2000

Jul 14 2001


              C o v e r Y o u r A S P . c o m

             Welcome to the latest newsletter!


Since the last newsletter the site has changed a little! The
new look seems to be a success - you all stay on the site a
little longer which is nice!

Improvements to the search have obviously worked too - the
emails from the site detailing the failed searches have been
cut in half. So if you tried the search before and weren't
impressed, try again. ;-)

Oh, let's not forget that I have my cable modem installed
now - and faster than ever thanks to being plumbed directly
into the main line (no sharing with the neighbors!).

I apologize if this email gets to you late, or you failed to
get to the site in the last few days. Too many things to list
have gone wrong in the last 48 hours - so the site and mail
server has been offline a lot since Friday evening.

"Normal service will be resumed as soon as possible.
Thank you"


                    T H E   D I A R Y

               The events of the last week



25 Jun

- To celebrate doing this for a year I had a little re-design
this weekend (as if you didn't notice). I have yet to go
through every page though, so I suspect you may see a few
that need tweaking! Hope you like it...[1]

Note: The download has not been updated with this code - I'll
post here when that's done.



26 Jun

- I made an obvious improvement to the search[1] yesterday -
should have thought of it before! Now I first search the
database for ALL the words you type, then I search again for
ANY of the words.

The former is likely to give a very short, accurate list,
but the latter will usually find something when obscure
phrases are searched for.


- Can this be true? I'm as pro-MS as it's possible to be,
but I don't like this smart-tags idea[1] as it's described


[note: this functionality was later removed by MS]


27 Jun

- Continuing the improvement of the site appearance (and
after being given a needed push by Minella Gjoka!) I've
added something else that I always wanted - a "Printer-friendly
page"[1] option that shows nothing but plain-jane content -
find it on the left of the screen.

I'm still amazed how easy it is to add this type of thing...



29 Jun

- I'm glad I had 3 copies of Interactive Week to read last
night - I installed the .NET Beta 2, or at least tried to.

  � Uninstalling Beta 1: 1 hour
  � Installing Component Update: 1.5 hours
  � Installing Visual Studio.NET: 1.5 hours until I hit a
    bad file on my CD.

This is HUGE! I shall burn a new CD tonight which will
hopefully let me continue (my machine is patiently sitting
at home, saying "Error reading file, Retry?", waiting for
my return tonight).


30 Jun

- I think I have .NET Beta 2 installed now, but I haven't
had the nerve to run anything yet. I had quite a few weird
and wonderful errors, and another 4 hours of installation,
but it'll be worth it! I have a week off now, so maybe I'll
get as far as "Hello World"...

- I can't remember if I've told you about HitBox Doctor[1]
before - but if you're serious about your website you need
to visit. They check for broken links, bad HTML, load time
and meta tags - and have a built-in image reducer. It's all

I use it regularly - in fact I cut out over 5k from my front
page by running the new logo and table graphics through their



2 Jul

- New site source code uploaded! I'm happy enough with the
new layout to update the download[1]. I've made a few changes
to improve matters on NS 4.7 and Opera 4, but since 96% of
you use IE (on my site), that's good enough for me. Have fun!



4 Jul

- Happy 4th July! I have to keep my head down at the local
parade (I'm English, remember?) but the kids are really
looking forward to it...


6 Jul

- It's a big red-letter day today - I start work (finally)
on CoverYourASP.NET! I have a day off, the wife and kids are
visiting friends. The Cable Guy is coming this morning too
to install my cable modem in my new house after a long wait,
so it's all coming together at long last. Ready, Set, Go!


7 Jul

- I'm so pleased with ASP.NET! Users familiar with my code
will be too - since it just continues on from what I do with
no render blocks[1] and classes[2] for everything. It'll be
a while before you see anything because I have to create the
site and page structure first, but I'm working on it...



10 Jul

- Ooops! I awoke this morning with a nasty feeling that I'd
forgotten something, so I checked the site. Sure enough I
completely forgot that I was due to publish a newsletter last
weekend. Sorry.


12 Jul

- I finally started to replace my tacky banners - there's a
new 468x60 one on my "link to me" page[1] if anyone needs to
update their links. Thanks.


- My parents are flying into Atlanta tonight to stay with us
for a few weeks - just warning you that email responses may
be a little "sluggish" for a couple of days. =;-)


13 Jul

- Planning is continuing for the planned sister site to this
one - CoverYourASP.NET. I am writing it in C# - an
exceptional language.

To follow along I whole-heartedly recommend that you get this
book[1]. It has already jumped to the top of my "favorite
books" list: Inside C# by Tom Archer.



14 Jul

- New banners and buttons[1] to link to me are now available.



           R E C O M M E N D   T H E   S I T E !

        Please recommend my site to your colleagues


With all the changes, there was just one new article:

"Displaying printer-friendly pages"

A few lines of code is all it takes to implement a
printer-friendly version of all your pages. Make all those
pesky navigation bars and banners disappear!


              H E R O   O F   T H E   W E E K !

Robert de Jongh is this weeks hero, for joining the developers
who so kindly give back the modifications to my code so I can
share them with you. Robert's change adds support for running
the site on an HTTPS secure connection:

"As you will see it's an addition to the SetBaseHref function
found in utils/Init.asp: Thanks for all the code and sharing

var sRootHTTP = 'http://'
var sRootHTTPS = 'https://'

var sRoot = Request.ServerVariables ( "HTTPS" );

function SetBaseHref ( )
    var sProtocol;

    if ( sRoot == "on" )
       sProtocol = sRootHTTPS;
       sProtocol = sRootHTTP;

    var sBaseServer = sProtocol + sServer;

    // test which URL I am running from
    for ( var i=0; i<sURLTest.length; i++ )
       if ( -1 != sBaseServer.indexOf ( sURLTest [ i ] ) )
          // apply the offset if one given
          if ( sURLOffset [ i ].length )
             sBaseServer += '/' + sURLOffset [ i ];

    Out ( '<base href="' + sBaseServer + '/" target="_top">' );


               N E E D   A N   A S P   I S P ?

        Use mine. You won't find a nicer bunch of guys.

           Cheap, efficient and extremely helpful.


A story you may have heard before, with a slightly different

A philosophy professor stood before his class and had some
items in front of him. When the class began, silently he
picked up a large empty mayonnaise jar and proceeded to fill
it with rocks; each about 2" in diameter. He then asked the
students if the jar was full? They agreed that it was. So
the professor then picked up a box of pebbles and poured them
into the jar.

He shook the jar lightly. The pebbles, of course, rolled into
the open areas between the rocks. He then asked the students
again if the jar was full.

They again agreed it was. The professor picked up a box of
sand and poured it into the jar.Of course, the sand filled up
everything else. "Now," said the professor, "I want you to
recognize that this is your life. The rocks are the important
things - your family, your partner,your health, your children
- things that if everything else was lost and only they
remained, your life would still be full. The pebbles are the
other things that matter like your job, your house, your car.
The sand is everything else. The small stuff." "If you put the
sand into the jar first, there is no room for the pebbles or
the rocks. The same goes for your life. If you spend all your
time and energy on the small stuff, you will never have room
for the things that are important to you.

Pay attention to the things that are critical to your happiness.
Play with your children. Take time to get medical checkups.
Take your partner out dancing. There will always be time to go
to work, clean the house, give a dinner party and fix the
disposal." "Take care of the rocks first - the things that
really matter. Set your priorities. The rest is just sand."

But then... A student then took the jar which the other
students and the professor agreed was full, and proceeded to
pour in a glass of beer. Of course the beer filled the
remaining spaces within the jar making the jar truly full.

The moral of this tale is:  no matter how full your life is,
there is always room for <homer_voice>BEER</homer_voice>.


                     F E E D B A C K

            Have something to say? Please share!



Neil J. McLeish:

"Hi James. Just read your article on iframes.

Re the para:
It gets stranger! The files being requested were the
<title> of the page containing the IFRAME, with
"/_files/iframe.htm" appended. So, this page, which has a
title of "IFRAME's...and IE 5.5", would cause my server to
get a request for a file called:
===end snip===

I can only guess but could this be IE pre-translating the
file paths for the eventuality that the user will choose
menu file|save as?

Doing a save as web page (complete) on your page will
give an html file called: IFRAME's___and IE 5_5.htm and a
folder called IFRAME's___and IE 5_5_files.  In this folder
we have the image files and 6 iframe files:


Each of these iframe(N).htm files has its own iframe(N)_files
folder containing a file called displayad.htm.

I have a feeling that the browser developers have attempted
to prepare for all of thoses eventualities which may or may
not occur.  It would appear the the browser is renaming the
temporary file 'just in case' the user wants to save it.

If my guess is correct (or even near the mark ;) ) then I
believe it is a particularly stupid 'feature' as it will
inevitably end up being a cause of many a problem for

But I could be wrong."


Like I said, bizarre!


"Just like to say i think this is a brilliant resource.  I
first came across it just after it was first live on the web,
but hadn't visited for a while, only to come across it again
whilst sorting out my favourites, glad i checked it out again ;]

I've downloaded the site and starting messing with the files.  
I've had some experience with ASP before, but not that great,
and everytime i come across a problem you have seemed to have
an answer!  can't believe it.

anyway the main reason for dropping this mail is i have a
question about membership services.  I've seen an article on
webpage templates on asp101 and i was wondering whether it is
possible to integrate this within the site, so basically, a
user could choose colours,fonts,logo's etc on the site and be
stored as part of the membership.

i'm sure it would be really easily to implement, but i can't
quite figure it.  am i right, would it be fairly simple?  I'm
not expecting you to do this but if you could point me in the
right direction it would be helpful.


Oh yes, that's easy (and I love seeing the English spelling of
colour again). In fact I do store some personalization for the
front page in the member records. Just search for bIntro as an

To extend it, just copy the code you find and add a Color
to the database, or whatever.


"As I was looking at the codes from the cover your asp
site that I've downloaded, to understand how it works, I
was thinking about how do you organize all the files that
are called such as config.asp, startup.asp, etc. to be
shown on the webpage, you know?

I mean, when you open the page it's all organized, banners
at the left, news at the center, etc. but when you take a
look at the code itself to see how it's done, you realize
that all it has is calls to certain files like header,
footer, content, and so one.

But looking at it you don't see how it's done in order to
appear on the site at determined places. Am I getting too
complicated? Got my point?

You don't specify where each item will appear and how it
will appear on the page, and that's what I want to know
how is done."


Well,looking in Header() you�ll see that it uses tables to
place the content in cells around the page, then content()
puts content into a cell, and finally ShowAds() is called to
fill the last cell. The site is just one big table, and that
is what controls the positioning.


            H A V E   I   H E L P E D   Y O U ?

          If I've helped you, help me help others!


         ===> now with new ways to say thanks! <===

Lots of new things coming too - I've negotiated a job board
that will appear on the site very soon so you can all find
that dream job; getting paid for doing what you enjoy!

Also, Ryan at (a cool directory site
linking to *everything*) is hoping to have a small presence
on the site so he can share his news.

All of this extra content will be customizable of course via
your membership, so it just means more choices for you.

Thanks Guys! Speak to you later.

Warmest Regards,

James Shaw

[email protected]

885 Woodstock Road, Suite 430, #108
Roswell, GA 30075-2247, U.S.A.


                S U B S C R I P T I O N S

          Do you want to subscribe or unsubscribe?


Featured sponsor
My favorite resources

Qualify for Free Trade Magazines

Free subscriptions to industry leading publications for those who qualify!

CoverYourASP Mugs, T-shirts, caps - even Boxer shorts...
I don't make a penny from these, but they're a lot of fun! Don't you need a new mouse mat?

I share my content

Supporting ASPRSS

Do you need a quick and easy way to link to my articles? All the information you need is published with ASPRSS...

See my source code
wherever you see this icon...

You can also download the entire site source code for FREE!

New Proposal Kit Professional 5.1
Brand yourself as a top professional: create quotes and amazing proposals and get many legal documents free!

The latter saved me 3 times the purchase price on the first day I owned it!