This is a multi-part message in MIME format.

------=_NextPart_000_001A_01BFB9C2.B1D6C6A0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello im trying to make a hit counter in the application.cfm file, but =
not clear as to the specifics.
Can I just put
<CFPARAM NAME=3D"hitcounter" DEFAULT=3D"0">
<CFSET hitcounter =3D hitcounter + 1>

and use this in another page ie
#application.hitcounter#

Or should I set this in a session variable somewhere....

How has everyone else done it?

John N Westerlund
Developer
http://www.phasezero.com=20
v: 800.807.7686=20
v: 703.684.8280 ext. 110
f: 703.684.8316

Phase Zero Productions, Inc.
E-nabling the world to communicate

------=_NextPart_000_001A_01BFB9C2.B1D6C6A0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hello im trying to make a hit counter in the =
application.cfm=20
file, but not clear as to the specifics.</FONT></DIV>
<DIV><FONT size=3D2>Can I just put</FONT></DIV>
<DIV><FONT size=3D2>&lt;CFPARAM NAME=3D"hitcounter" =
DEFAULT=3D"0"&gt;</FONT></DIV>
<DIV><FONT size=3D2>&lt;CFSET hitcounter =3D hitcounter + =
1&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>and use this in another page ie</FONT></DIV>
<DIV><FONT size=3D2>#application.hitcounter#</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Or should I set this in a session variable=20
somewhere....</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>How has everyone else done it?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>John N Westerlund<BR>Developer<BR><A=20
href=3D"http://www.phasezero.com">http://www.phasezero.com</A> <BR>v: =
800.807.7686=20
<BR>v: 703.684.8280 ext. 110<BR>f: 703.684.8316</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Phase Zero Productions, Inc.<BR>E-nabling the world =
to=20
communicate</FONT></DIV></BODY></HTML>

------=_NextPart_000_001A_01BFB9C2.B1D6C6A0--

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to