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:
matching shipto and others (1998)
Need relative path explanation (1997)
PCS Frames-Default page is solution! (1997)
Move WebDNA DB to MySQL (2005)
Calculating days, hours, minutes ago (2004)
Cart Numbers (1997)
Refering page (1998)
Web Catalog vs. ICAT (1997)
Frames (1997)
Different Email recipients? (1998)
problems with 2 tags (1997)
HELP WITH DATES (1997)
Grouping search fields, etc. (1997)
New Lawsuit Alleges Unitedhealth/Pacificare Deceived (2006)
createfolder not behaving as expected (1999)
Running _every_ page through WebCat ? (1997)
math a various prices (1997)
BUG in [showif] using ^ (contains) (1997)
[OT] Mistakerosoft (2003)
Shopping Cart variation... (1997)