Well it's actually an approximation.

What you can do is once a user hits the site, record the CFID and CFTOKEN or
whatever other persistent var you want to use to a database along with the
current date and time.  And upon each subsequent page views, update the
database.  At the same time you would poll the DB to see how many users have
hit the site within a time frame like oh say, one minute.

Simple.

---mark

------------------------------------
Mark Warrick - Fusioneers.com
Personal Email: [EMAIL PROTECTED]
Business Email: [EMAIL PROTECTED]
Phone: 714-547-5386
Efax: 801-730-7289
Personal URL: http://www.warrick.net
Business URL: http://www.fusioneers.com
ICQ: 125160 / AIM: markwarric
====================================

> -----Original Message-----
> From: Steve Reich [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 11:41 AM
> To: CF-Talk
> Subject: Counting Sessions
>
>
> How does a web site know that there are "26 users on our site right now...
> oh, wait, now 27"??
>
>
> Steve
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to