Wife/Girlfriend/Sister?
Pepper Spray &
Stun Gun Specials!
KEEP THEM SAFE.
 CoverYourASP --> Removing unconfirmed members --> Part 2

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
124 active users
1844 visitors today
2280 pages today
(only part of today)
Tools I use

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

ASP.NET Blog
RSS submissions
E-commerce

Now open source with SourceForge!

Doing it automatically

I've talked before about my BrandNewDay( ) function, and how it gets called once per day.

Sending out emails to members unconfirmed for 9 days, and deleting at 10 days is another example of how I use this function. To start with I added another call to BrandNewDay( )...

// ============================================
// anything that needs doing once per day!
// ============================================
function BrandNewDay ( )
{
   if ( Application ( 'BrandNewDay' ) == 1 )
   {
      // now set data into Application variables
      Application.Lock ( );

      Application ( 'BrandNewDay' ) = 0;

      Application.Unlock ( );

      // send out email or delete unconfirmed members
      RemindMembers ( );
   }
}

...and then I just had to write the function RemindMembers!

Part 3: RemindMembers( )...

Featured sponsor
My favorite resources

Tiki Statues - Tiki Masks - Tiki Totems


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?


Qualify for Free Trade Magazines

Free subscriptions to industry leading publications for those who qualify!