Count the number of times page submitted

2009-02-20 Thread Priya Koya
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

Re: Count the number of times page submitted

2009-02-20 Thread Jake Churchill
. 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

Re: Count the number of times page submitted

2009-02-20 Thread John M Bliss
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

Re: Count the number of times page submitted

2009-02-20 Thread Priya Koya
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

Re: number of times

2007-11-02 Thread Ben Doom
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

RE: number of times

2007-11-02 Thread Dawson, Michael
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

number of times

2007-11-02 Thread Web Exp
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

Number of times a character is in a string

2002-07-30 Thread Graham Pearson
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

RE: Number of times a character is in a string

2002-07-30 Thread Shawn Kernes
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

RE: Number of times a character is in a string

2002-07-30 Thread Raymond Camden
, 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

RE: Number of times a character is in a string

2002-07-30 Thread Chris Lofback
)))#/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

RE: Number of times a character is in a string

2002-07-30 Thread Dan Haley
(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

RE: Number of times a character is in a string

2002-07-30 Thread Raymond Camden
: 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

RE: Number of times a character is in a string

2002-07-30 Thread Chris Lofback
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

Re: Number of times a character is in a string

2002-07-30 Thread Douglas Brown
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

RE: Number of times a character is in a string

2002-07-30 Thread Dan Haley
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

SQL ?: Counting number of times for this

2002-02-10 Thread Paul Sinclair
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

RE: SQL ?: Counting number of times for this

2002-02-10 Thread Ian Lurie
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

RE: SQL ?: Counting number of times for this

2002-02-10 Thread Paul Sinclair
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

RE: SQL ?: Counting number of times for this

2002-02-10 Thread Ian Lurie
(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

RE: SQL ?: Counting number of times for this

2002-02-10 Thread Paul Sinclair
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

Re: SQL ?: Counting number of times for this

2002-02-10 Thread Jim McAtee
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

Re: SQL ?: Counting number of times for this

2002-02-10 Thread Paul Sinclair
(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