It may be. Since you timed it out maybe it gets emptied first? I'm not
sure on that one. It went empty string then gone right?

You may want to rest it all then see if the same weirdness happens.

J.

John Wilker
Web Applications Consultant, Writer
Macromedia Certified ColdFusion Developer
Founder/President IE CFUG
www.red-omega.com
 
Whatever is wrong it is better than a poke in the eye with a sharp
stick. Unless of course you just got poked in the eye with a sharp
stick.


-----Original Message-----
From: Adrocknaphobia Jones [mailto:[EMAIL PROTECTED]] 
Sent: Friday, January 03, 2003 11:56 AM
To: CF-Talk
Subject: RE: APPLICATION varaible phases


Righto.

But that empty string is what's striking me as odd. Maybe it was just a
weird fluke.

Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division


-----Original Message-----
From: John Wilker [mailto:[EMAIL PROTECTED]] 
Sent: Friday, January 03, 2003 2:32 PM
To: CF-Talk
Subject: RE: APPLICATION varaible phases

I can't think of why it'd be an empty string but APPLICATION scoped
variables are like SESSION/CLIENT in the regard that they are long
lasting. They are just longer lasting. Once you set an APPLICATION scope
variable it exists until you change it, reset the application or time
out the application. They live as long as the application essentially.

So you could set it then change the page to display it before the line
that sets and it's still got a value.

J.

John Wilker
Web Applications Consultant, Writer
Macromedia Certified ColdFusion Developer
Founder/President IE CFUG
www.red-omega.com
 
Whatever is wrong it is better than a poke in the eye with a sharp
stick. Unless of course you just got poked in the eye with a sharp
stick.


-----Original Message-----
From: Adrocknaphobia Jones [mailto:[EMAIL PROTECTED]] 
Sent: Friday, January 03, 2003 11:22 AM
To: CF-Talk
Subject: APPLICATION varaible phases


If I put a <cfdump var="#APPLICATION#"> the line following
<cfapplication> on my application.cfm. The dump displays all the
APPLICATION values in the score. Only problem is, I don't set any of
these values until after the dump. It's almost as if the APPLICATION
scope is a SESSION. Being that it remembers the values from a previous
execution.
 
So, I set my application timeout at 1 minute. I erased the line <cfset
APPLICATION.value = 1>.  After the timeout, the variable was still
included in the dump, this time as a [empty string] instead of 1.
 
A minute or two later and the value finally disappears and doesn't show
in the dump.
 
Is this normal? Why is it being reset to an empty string?
 
 
Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division
 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to