Ask a Question related to Coldfusion Database Access, Design and Development.
-
ed@oac #1
Number of times visited
I am using Coldfusion with Microsoft Access database integration to create
applications. I am in desperate need for appropriate Coldfusion code so that
each time a registered user logs in the database keeps a record of how many
times the registered user has logged in.
The key issue here is (I think) getting a cell number in Access to update
itself, which obviously means having the right instruction from a Coldfusion
webpage. I am sure it is simply!!??
I would be extremely pleased if someone can put me out of my misery.:heart;
ed@oac Guest
-
rate by most visited
I have a website which lists products and I would like to track the hits for each of these products. Any idea how I can do this? What if the visitor... -
setting number of times Flash plays
I've got a small Flash piece on a website. I want it to play three times and then stop. I've done this in the past and can't remember how, other... -
howto put the same number 36 times in a list?
From the manuals I understand that you make a list with 36 times same number: Is there some easy operation that does it 36 time for me like:... -
Counting the number of times a user hits an html form
I have a very long html form with many loops in it. I'm trying to keep track of how many times a user hits a specific web page while they are... -
identify duplicates in an array and number of times duplicated
hi, i have created an array from recordset containing user names eg. (davidp, davidp, evenf, patricka, rebeccah) which i have sorted in... -
ed@oac #2
Number of times visited
I am using Coldfusion with Microsoft Access database integration to create
applications. I am in desperate need for appropriate Coldfusion code so that
each time a registered user logs in the database keeps a record of how many
times the registered user has logged in.
The key issue here is (I think) getting a cell number in Access to update
itself, which obviously means having the right instruction from a Coldfusion
webpage. I am sure it is simply!!??
I would be extremely pleased if someone can put me out of my misery.:heart;
ed@oac Guest
-
philh #3
Re: Number of times visited
Hi ed, Say you have a table in your MDB called tblLogins. It consists of a
primary key field, a field to hold the user's ID (userID), and an integer field
(LoginCount). Populate the table with your registered user IDs. Add code to
your registration process to make sure that new users are added. Upon a
successful login, issue the following code: <cfquery name='incrementLogin'
datasource='#MyDSN#'> UPDATE tblLogins SET loginCount = loginCount+1 WHERE
userID = '#whateversessionvariableyouusetoidentifytheuser#' </cfquery> HTH,
philh Guest
-
ed@oac #4
Re: Number of times visited
Marvellous!!! Many thanks for your help!
It's easy when you know how!
ed@oac Guest



Reply With Quote

