Forums

This topic is locked

Application Variables

Posted 06 Feb 2003 14:27:14
1
has voted
06 Feb 2003 14:27:14 Stephen Miller posted:
How do you assign variables to application Variables?

Replies

Replied 06 Feb 2003 17:16:49
06 Feb 2003 17:16:49 Dennis van Galen replied:
in CFMX ?

In your application.cfm do something like:

<!--- Define application variables --->
<CFSET APPLICATION.counter = 0>

then in your other pages you can use:

<CFSET APPLICATION.counter = APPLICATION.counter + 1>

HTH

with regards,

Dennis van Galen
DMXzone Manager

Extension, Tutorial and FAQ's Manager

Studio MX / CFMX PRO / SQL 2000 / NT4 AND win2kPRO / IIS5

Reply to this topic