Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Site Maintenance 2

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
Coldfsuion site, Access database.

What do you guys reccommend to do when taking the site down for maintenance. Example being when there needs to be table structure changes to the Access Database. I could take the home page down but if someone has bookmarked one of the product pages they could still bypass the home page and place an order. If that happens and I make my changes to the data then overwite the current database I obviously loose the order. I have records in PayPal that show the order but I dont want to have to go in and clean up the mess afterwards.

Is there something I could do in "Application.cfm" that would turn the entire site off for a period of time and leave a "Site under maintenance" message?

----------------------------------------
Florida Web Design
Orlando Web Hosting
Florida Coldfusion Hosting
 
In application.cfm
Code:
"Site under maintenance"
<cfabort>


Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
I usualy put a switch in the application.cfm file

<cfset down = false>
<cfif down and not findNoCase('Down.cfm', cgi.SCRIPT_NAME)>
<cflocation url = "down.cfm">
</cfif>

Then make your down.cfm page looke like the rest of your site with a friendly "down for maint" message.

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top