Are you trying to include and run CF templates from your HTML pages? What
environment are we talking about - NT/IIS with CF on the same server?
I thought the hit counters you see everywhere were implemented purely on the
server end and were just called up as an image. Something like:
<img src=http://www.some-where-else.com/counter.cfm>
At the counter end, you keep track of the referrer (the specific page) and
increment a count kept in a database, then generate and return a graphic
image with the correct number. I'm guessing you keep an gigantic directory
of numbers from something like "000000" to "999999", so you don't actually
generate the graphic on the fly.
It might be safer to require a page id be passed, so that is someone
discovers your counter script, they can't use it for free. Something like:
<img src=http://www.some-where-else.com/counter.cfm?pid=14058>
Your users would have to register new page counters before they could use
them.
Jim
----- Original Message -----
From: "SHEETS, DAYV (PB)" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 11:34 AM
Subject: RE: Includes on HtML?
> Yes I am hosting the site from my box. The problem is that the users that
> maintain the code do not know CF. I'd like to stay away from frames being
> that it usually causes more problems than solutions (e.g. when a user
> clicks an area in the frame it focuses on that screen for printing instead
> of the main page)
>
> I thought that there was a way to do this...
>
> Thanks,
>
> Dayv
>
>
>
> -----Original Message-----
> From: Erika L Walker [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 10:10 AM
> To: CF-Server
> Subject: RE: Includes on HtML?
>
>
> Do you have access to the server? Or is it hosted by someone?
>
> Erika
>
> -----Original Message-----
> From: SHEETS, DAYV (PB) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 12:20 PM
> To: CF-Server
> Subject: Includes on HtML?
>
>
> Hi All,
>
> Another question.
>
> Can you <cfinclude> from *.htm *.html based files? I want to be able to
> include a hit counter on some of our pages but not by not having them
> changed to .cfm.
>
> Thanks,
> Dayv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com