I could, but eventually the database would become HUGE with visits of people
that visited once and never came back, the advantage of client variables is
that they time out by them selves without me needing to code any maintenance
tasks.
At the moment I am just setting a "client.sitename_hitcount" variable and
using that instead of the "client.hitcount" one, that seems to solve the
problem.
Jay
----- Original Message -----
From: "Farah Kubba" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Tuesday, February 13, 2001 8:25 PM
Subject: Re: Client Variable Storage
>
> you can do this by your own administrating not depending on the coldfusion
> administrator, i mean why you don't creat your own table not global table
> and you just store the hit count into this table ,this code in the
> application.cfm page ofcource, you just have to declare the
session.hitcount
> by using cfparam and assigning to it the last value from the database
> incremented by one, so it will incremented only when he just requisting
the
> first page of the application then you can insert it into the table by
> puting the condition where userid='#client.cfid:#client.cftoken#', you can
> do anything to this table and storing all the global variables related to
> client and more..
> i don't know if iam talking on what you mean or somthing else, anyway you
> can give me more details and i will say what i have
>
>
> Farah
>
> >Unfortunately they want a hit count "per user" so client variables id the
> >real way to do it. It isn't for traffic analysis anyway, just one of
those
> >things the client wants do display to the public. A "you have been here
XX
> >times" kind of thing. I don't see it being a real problem, but if I
don't
> >allow for it now I guarantee it will be a problem later!
> >
> > > I don't think you should look at using the client storage variables as
a
> > > way of managing hit count. It isn't very accurate and client variables
> >do
> > > not last long enough. If you want to do traffic analyis either plug it
> >in
> > > to your application.cfm (if you must) or do it through some common
page
> > > (like a welcome page or when a person logs in).
> >
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists