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:
Dummy Credit Card Number for debug? (1997)
# of real domains on 1 web server (1997)
MySQL (2003)
Text vs. Math (2000)
Using [Showif] tag. Mac (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
WebCatalog for guestbook ? (1997)
WebCatalog vs. Cold Fusion (1998)
Email notification to one of multiple vendors ? (1997)
credit card authorization question (1997)
[BULK] [WebDNA] [BULK] WebDNA AJAX example wanted! (2010)
How to find 100 most recent additions. (1997)
WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997)
Country & Ship-to address & other fields ? (1997)
Ampersand (1997)
POS (2000)
Help!!!! Purchases not going through! FIXED! (1997)
Exclamation point (1997)
Setting a range in a search (1998)
Accepting credit cards (1997)