I get errors like this right before the server crashes. I think the server
crashing causes the error (and not the other way around). Does it go away
soon after on your site?

-ben

.......................
Ben Nadel 
Web Developer
Nylon Technology
350 7th Avenue
Floor 10
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com
 
"Some people call me the space cowboy. Some people call me the gangster of
love."

-----Original Message-----
From: stylo stylo [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 16, 2006 9:26 AM
To: CF-Talk
Subject: repeated random error with request variable

I keep getting an error every so often related to a request variable missing
which crashes my entire website.

I have on the application page an include for basic settings which are
written to request scope. The query uses a request cache. If url refresh
varibles are added it is refreshed.

Later in the page I set a variable based on one of those request settings.

Normally works fine.

But every few days when I go to the site I see only an error page with the
error relating to setting this variable because the request variable I'm
using is not defined.

So, I got sick of that, and above setting the varible I put this:

<cfif NOT isdefined("request.appSettings.Locale")>
        <!--- Get Settings --->
        <cfinclude template="queries/getsettings.cfm">
</cfif>

To reget them.

Well, damn it, it still happens every few days. I can't see how possible.

As soon as I refresh the cache by setting request cache to 0, it reloads
fine again for who knows how long.

So:

1) how can this be hapenning?

2) I'm going to try setting the cach to zero just above the 2nd request but
want to solve number one first.

Ideas?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246754
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to