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

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

ASP.NET Blog
RSS submissions
E-commerce

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!

                 http://CoverYourASP.com/
____________________________________________________________

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!).

<STOP_PRESS>
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"
</STOP_PRESS>

____________________________________________________________

                    T H E   D I A R Y

               The events of the last week

            http://CoverYourASP.com/ShowDiary.asp
____________________________________________________________

______

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.

[1] http://CoverYourASP.com/

______

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.

[1] http://CoverYourASP.com/Search.asp

- 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
here!

[1] http://www.zdnet.com/intweek/stories/columns/0,4164,2772297,00.html

[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...

[1] http://CoverYourASP.com/default.asp?plain

______

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
free!

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
optimization!

[1] http://resources.hitbox.com/cgi-bin/page.cgi?tools/doc

______

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!

[1] http://CoverYourASP.com/DownloadCYA.asp

______

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...

[1] http://CoverYourASP.com/DontRender.asp
[2] http://CoverYourASP.com/Classes.asp

______

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.

[1] http://CoverYourASP.com/LinkToUs.asp

- 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.

[1] http://www.amazon.com/exec/obidos/ASIN/0735612889/shawthingcom

______

14 Jul
______

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

[1] http://CoverYourASP.com/LinkToUs.asp

____________________________________________________________

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

        Please recommend my site to your colleagues

           http://CoverYourASP.com/Recommend.asp
____________________________________________________________

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!

http://CoverYourASP.com/PrinterFriendly.asp

____________________________________________________________

              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
it"

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

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

function SetBaseHref ( )
{
    var sProtocol;

    if ( sRoot == "on" )
       sProtocol = sRootHTTPS;
    else
       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 ];
          break;
       }
    }

    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.

                  http://EverPlanet.com/
____________________________________________________________

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

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!

            http://CoverYourASP.com/Contact.asp

____________________________________________________________

Neil J. McLeish:

"Hi James. Just read your article on iframes.

Re the para:
===snip===
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:

iframe.htm..iframe(6).htm.  

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
developers.

But I could be wrong."

Me:

Like I said, bizarre!
______

Dean:

"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.

Me:

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
example.

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

jfSebastian:

"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."

Me:

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!

            http://CoverYourASP.com/Donate.asp

         ===> 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 http://FuzzySoftware.com (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?

            http://CoverYourASP.com/Subscribe.asp
____________________________________________________________

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!