Hi All,
I need to count the number of times a page was submitted continuously with a
single user. If I set a count in the page then when ever it reachs the page
again it counts to ). so it doesnt work.
If the page hits first time count=1
If the page hits second time count=2
.
.
.
Times
. I do that quite a bit to avoid duplicate submissions.
-Jake
Priya Koya wrote:
Hi All,
I need to count the number of times a page was submitted continuously with a
single user. If I set a count in the page then when ever it reachs the page
again it counts to ). so it doesnt work
cfparam name=session.pagecount default=0
cfset session.pagecount = session.pagecount + 1
On Fri, Feb 20, 2009 at 9:47 AM, Priya Koya priya23...@gmail.com wrote:
Hi All,
I need to count the number of times a page was submitted continuously with
a single user. If I set a count in the page
Thanks for your help!
cfparam name=session.pagecount default=0
cfset session.pagecount = session.pagecount + 1
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
wrote:
Hi. I have a large chunk of text/html-text in the database and I need
to find out the number of times the term fantabulous occurs in it.
Any CF function/UDFs that I can use?
Any ideas please?
Thanks,
k
or tab characters. Then, I
would use listLen() to see how many list items exist.
M!ke
-Original Message-
From: Web Exp [mailto:[EMAIL PROTECTED]
Sent: Friday, November 02, 2007 8:50 AM
To: CF-Talk
Subject: number of times
Hi. I have a large chunk of text/html-text in the database and I
Hi. I have a large chunk of text/html-text in the database and I need
to find out the number of times the term fantabulous occurs in it.
Any CF function/UDFs that I can use?
Any ideas please?
Thanks,
k
~|
Create robust
Anyway to find out the total number of times a character is apart of a
specific string. Any direction greatly appreciated.
---
Graham Pearson, System Administrator / Certified Webmaster
Northern Indiana
ListLen(list [, delimiters ]) - 1
where the delimiter is the char you are looking for
-Original Message-
From: Graham Pearson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 12:44 PM
To: CF-Talk
Subject: Number of times a character is in a string
Anyway to find out the total
, 2002 3:44 PM
To: CF-Talk
Subject: Number of times a character is in a string
Anyway to find out the total number of times a character is
apart of a
specific string. Any direction greatly appreciated
)))#/CFOUTPUT times
-Original Message-
From: Shawn Kernes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 3:51 PM
To: CF-Talk
Subject: RE: Number of times a character is in a string
ListLen(list [, delimiters ]) - 1
where the delimiter is the char you are looking
(x) - len(y)
Dan
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 12:50 PM
To: CF-Talk
Subject: RE: Number of times a character is in a string
If it's one character, you should be able to treat it like a list
delimiter. The only issue
: morpheus
My ally is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: Chris Lofback [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 4:05 PM
To: CF-Talk
Subject: RE: Number of times a character is in a string
Using ListLen won't work for single characters
To: CF-Talk
Subject: RE: Number of times a character is in a string
Good catch there. Although you get points off for using evaluate - I'd
use a temp variable just to make it more readable. ;)
==
=
Raymond Camden
PROTECTED]
Sent: Tuesday, July 30, 2002 1:18 PM
Subject: RE: Number of times a character is in a string
Good catch there. Although you get points off for using evaluate - I'd
use a temp variable just to make it more readable
Whoohoo.
Dan Haley
Creator of Readable Code
-Original Message-
From: Chris Lofback [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 1:16 PM
To: CF-Talk
Subject: RE: Number of times a character is in a string
Yes, I threw it together too quickly. But Dan Haley nailed
I'm preparing a simple homebrewed site statistics report for a client. I need to send
a cfmail each night showing the top pages viewed in various areas of the site. I'm
stumped on how to get the info I need from the db.
The table involved is a simple 5 column table. I just need to do a sql
something, but this should do it...
-Original Message-
From: Paul Sinclair [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 10, 2002 1:39 PM
To: CF-Talk
Subject: SQL ?: Counting number of times for this
I'm preparing a simple homebrewed site statistics report for a client. I
need to send
with Maxrows = the number of pages you want to show:
COUNTER: TITLE
COUNTER: TITLE
Etc.
I may be missing something, but this should do it...
-Original Message-
From: Paul Sinclair [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 10, 2002 1:39 PM
To: CF-Talk
Subject: SQL ?: Counting number
(searches.city))5))
ORDER BY count([city]) DESC;
Ian
-Original Message-
From: Paul Sinclair [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 10, 2002 2:32 PM
To: CF-Talk
Subject: RE: SQL ?: Counting number of times for this
Ian,
I'm sorry - I don't know what you mean. What is COUNTER and TITLE
something that will go through and sum the number of times each page
(the script_name field) is hit and then output the results in descending
order of popularity. So for the above sample, it would show like this:
/page1.cfm?id=2 3 hits
/page1.cfm?id=1 2 hits
/page1.cfm?id=4 1 hit
/page1.cfm?id
BY script_name
ORDER BY Count(script_name) DESC
Jim
- Original Message -
From: Paul Sinclair [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, February 10, 2002 7:36 PM
Subject: RE: SQL ?: Counting number of times for this
Ian,
It is a pretty straightforward table in an MSSQL
(begindate)#
AND #CreateODBCDate(enddate)#
GROUP BY script_name
ORDER BY Count(script_name) DESC
Jim
- Original Message -
From: Paul Sinclair [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, February 10, 2002 7:36 PM
Subject: RE: SQL ?: Counting number of times
23 matches
Mail list logo