Re: Semi OT: vbulletin and # viewing - how do that do that?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54883
interpreted = N
texte = Thanks Andy, I was thinking along the same lines, just wasn't sure how to handle the expiring cookie. Probably all a bit much just to have a (# viewing) - a neat stat to know but doesn't do anything else to enhance the board. Maybe I'll just stick a ([random] viewing) up there for a week and see if anyone comments on it. :-)Thanks,GKAt 08:10 AM 12/11/2003, you wrote:>Hey Gary,>>Just off the top of my head, here's how I might attack this:>>1. Set up a database BoardLogin.db>2. Assign all visitors a cookie that expires after a reasonable amount of >time (both guests & those logged in)>3. Keep same cookie, but change expire time after each page request.>(If someone has their browser open to your board, but hasn't loaded a new >page in 5 minutes, it's my guess that they're no longer "active")>4. Everytime a page is loaded, have it do a search of BoardLogin.db for >all data w/ an expire date/time greater than or equal to now.>>hth,>>andy-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks Andy, I was thinking along the same lines, just wasn't sure how to handle the expiring cookie. Probably all a bit much just to have a (# viewing) - a neat stat to know but doesn't do anything else to enhance the board. Maybe I'll just stick a ([random] viewing) up there for a week and see if anyone comments on it. :-)Thanks,GKAt 08:10 AM 12/11/2003, you wrote:>Hey Gary,>>Just off the top of my head, here's how I might attack this:>>1. Set up a database BoardLogin.db>2. Assign all visitors a cookie that expires after a reasonable amount of >time (both guests & those logged in)>3. Keep same cookie, but change expire time after each page request.>(If someone has their browser open to your board, but hasn't loaded a new >page in 5 minutes, it's my guess that they're no longer "active")>4. Everytime a page is loaded, have it do a search of BoardLogin.db for >all data w/ an expire date/time greater than or equal to now.>>hth,>>andy-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Gary Krockover
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Signal Raised Error (1997)
[WebDNA] Processor Maxing out (2010)
Re:2nd WebCatalog2 Feature Request (1996)
WebDNA vs SQL ? (2002)
Secure server question (1997)
Separate SSL Server (1997)
Multiple catalog databases and showcart (1997)
[OT] Trying to steal databases on our server (2003)
Blowback and budgets. (2000)
Spawn doesn't work as advertised ... (2000)
unable to launch acgi in WebCat (1997)
Sorta OT: Printing From Browser Window (2001)
Searching multiple fields from one form field (1997)
Interface to Quickbooks (2005)
Here we go again...WebDNA - SQL- Clustering (2006)
[WebDNA] Error: Invalid JPEG file (2011)
Cart Number sequence (1997)
Cookies (2001)
carriage returns in data (1997)
Force leading zeros (1998)