Counting Sessions

2001-06-27 Thread Steve Reich

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



RE: Counting Sessions

2001-06-27 Thread Dylan Bromby

the specifics depend on the OS, but generally speaking, the web server's
open threads/processes are counted.

-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



RE: Counting Sessions

2001-06-27 Thread Mark Warrick

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



RE: Counting Sessions

2001-06-27 Thread Mark Warrick

Dylan,

I learn something everyday.  Thanks.

Is there a specific function in CF which will display those counts on the
WinNT platform?

---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: Dylan Bromby [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 11:54 AM
 To: CF-Talk
 Subject: RE: Counting Sessions


 the specifics depend on the OS, but generally speaking, the web server's
 open threads/processes are counted.

 -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



Re: Counting Sessions

2001-06-27 Thread Steve Reich

Thanks Dylan. That's kinda what I figured it had to be. I could think of no
way to do it accurately with some sort of database logging. Does anyone know
of how this information could be accessed with CF? Sounds like a good
project for all you CFXers! I'll BETA test when it's ready! ;-)

Steve

Dylan Bromby [EMAIL PROTECTED] wrote in message
000c01c0ff3a$9808bf30$6401a8c0@bromby">news:000c01c0ff3a$9808bf30$6401a8c0@bromby...
 the specifics depend on the OS, but generally speaking, the web server's
 open threads/processes are counted.

 -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