![]() |
|
|
Published: Saturday, July 17, 1999 By Ryan S.
Let's say that you want to determine the current user's IP. Well, this ain't too hard:
Now, what if you want to know the total number of visitors on your website right now? That's easy too!
(Note: if all you want to do is see the number of simultaneous visitors on your site, there is a less memory-intensive way to do this. See Joao's aritlce How Many People Are on your Site Right Now?) Now, here's the neatest part. You can see a listing of all the folks who are on your site in real time! Just iterate through the recordset:
It's that easy. Pretty freakin' cool, in my opinion. Mad props to Professional ADO RDS Programming with ASP, who introduced me to custom recordsets. Mad props to Scott for giving it to me ;-) Anyway, hope you had fun with the scriptlet, and as always, God bless from Ryan S
Attachments: Global.asa for this article
This article was written by
Ryan S.
Ryan has been a computer programmer
in the loosest sense since the age of 8. He has been working with ASP
since the age of 13, when it first came out (that he knows of), and is
somewhat advanced at it.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||