RE: Basic user stats via Coldfusion

2009-12-17 Thread Ian Vaughan
, 2009 10:54 AM To: cf-talk Subject: RE: Basic user stats via Coldfusion Ian, This sounds like you should be looking at the webserver logs. If you are using IIS, you can have it log the Windows Login info in the IIS logs. I don't know if Apache can or not. Then you can use something

RE: Basic user stats via Coldfusion

2009-12-17 Thread Ian Vaughan
like you would with a database. Steve -Original Message- From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk] Sent: Tuesday, December 15, 2009 11:47 AM To: cf-talk Subject: RE: Basic user stats via Coldfusion Hi Jason All I am trying to do is track what url's on our Intranet

RE: Basic user stats via Coldfusion

2009-12-17 Thread Ian Vaughan
just like you would with a database. Steve -Original Message- From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk] Sent: Tuesday, December 15, 2009 11:47 AM To: cf-talk Subject: RE: Basic user stats via Coldfusion Hi Jason All I am trying to do is track what url's on our

RE: Basic user stats via Coldfusion

2009-12-17 Thread DURETTE, STEVEN J (ATTASIAIT)
-Original Message- From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk] Sent: Thursday, December 17, 2009 6:01 AM To: cf-talk Subject: RE: Basic user stats via Coldfusion Hi Steve I have looked in the IIS logs but for some reason the 'cs-username' field is not being populated? Any ideas

RE: Basic user stats via Coldfusion

2009-12-15 Thread Ian Vaughan
...@gmail.com] Sent: 07 December 2009 17:44 To: cf-talk Subject: Re: Basic user stats via Coldfusion Log minimal data to a database table and process the results when the server is less busy. Possibly skip the processing until the report needs to be generated. All you need to store is the page identifier

RE: Basic user stats via Coldfusion

2009-12-15 Thread Ian Vaughan
analytical software that would capture this information? -Original Message- From: Jason Durham [mailto:jdur...@cti-stl.com] Sent: 07 December 2009 17:32 To: cf-talk Subject: RE: Basic user stats via Coldfusion Am I properly restating this... You want to track what pages each user hits

RE: Basic user stats via Coldfusion

2009-12-15 Thread DURETTE, STEVEN J (ATTASIAIT)
with a database. Steve -Original Message- From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk] Sent: Tuesday, December 15, 2009 11:47 AM To: cf-talk Subject: RE: Basic user stats via Coldfusion Hi Jason All I am trying to do is track what url's on our Intranet a unique user accesses

RE: Basic user stats via Coldfusion

2009-12-15 Thread Jason Durham
-talk Subject: RE: Basic user stats via Coldfusion Ian, This sounds like you should be looking at the webserver logs. If you are using IIS, you can have it log the Windows Login info in the IIS logs. I don't know if Apache can or not. Then you can use something like LOG Parser from Microsoft

Re: Basic user stats via Coldfusion

2009-12-15 Thread Agha Mehdi
AM To: cf-talk Subject: RE: Basic user stats via Coldfusion Ian, This sounds like you should be looking at the webserver logs. If you are using IIS, you can have it log the Windows Login info in the IIS logs. I don't know if Apache can or not. Then you can use something like LOG Parser

Basic user stats via Coldfusion

2009-12-07 Thread Ian Vaughan
On our intranet I have a coldfusion script that captures a user's network/loginid cfset user = listLast(cgi.REMOTE_USER,\) This variable is then run against a user table with the following 'where' clause WHERE uPPER(NETWORK_ID) = '#ucASE(user)#' This then captures user info such as Loginid

Re: Basic user stats via Coldfusion

2009-12-07 Thread Gerald Guido
How would you restrict the query so it only runs once on each page per day for each user, instead of running every time the page is loaded? Set a cookie that expires after 24 hours. If the cookie doesn't exist, run the query. And where would this query be better placed, as I don't really

RE: Basic user stats via Coldfusion

2009-12-07 Thread Jason Durham
11:06 AM To: cf-talk Subject: Basic user stats via Coldfusion On our intranet I have a coldfusion script that captures a user's network/loginid cfset user = listLast(cgi.REMOTE_USER,\) This variable is then run against a user table with the following 'where' clause WHERE uPPER(NETWORK_ID

Re: Basic user stats via Coldfusion

2009-12-07 Thread Mike Chabot
Log minimal data to a database table and process the results when the server is less busy. Possibly skip the processing until the report needs to be generated. All you need to store is the page identifier, the user identifier, and the timestamp. You can screen out duplicate page hits in the

re: Basic user stats via Coldfusion

2009-12-07 Thread Jason Fisher
Include it in the onSessionStart method of Application.cfc and it will run only once per login. If you really only want it once per day (if, for example, users sometimes logout/in several times per day), then you could add a date test to the log INSERT query: cfquery ... IF NOT EXISTS (

Re: Basic user stats via Coldfusion

2009-12-07 Thread Dave Watts
How would you restrict the query so it only runs once on each page per day for each user, instead of running every time the page is loaded? Set a cookie that expires after 24 hours. If the cookie doesn't exist, run the query. That probably wouldn't be a good idea, as you'd be setting a