|
-
Jun 16th, 2000, 12:26 AM
#1
Thread Starter
Lively Member
I want to write a page that show's whether my friend is browsing my site or not. so I am thinking maybe I can get their IP then write a script that makes me be able to know if they are browsing my site or not.
can anyone tell me how to get their IP?
how to detect if they are browsing?
Thanks
Cerebrate
[Edited by Cerebrate on 06-16-2000 at 01:31 PM]
-
Jun 16th, 2000, 01:14 AM
#2
Member
there is a perl hack for the UBB, and its called "Who's Online" im sure that you could find the code for displayin the users IP in that, since that hack displays the users ip as part of the info.
-
Jun 20th, 2000, 08:23 AM
#3
Frenzied Member
If you're using ASP then I think a user's IP is available through the session object, or it's an environmental variable or something. Been a while since I did ASP now.
Your friend might have a dynamically allocated IP though, which would mean that his IP is different each time he logs on. You'd have to find out his IP each time.
Harry.
"From one thing, know ten thousand things."
-
Jun 20th, 2000, 09:07 AM
#4
Guru
Request.ServerVariables("REMOTE_ADDR")
-
Jun 20th, 2000, 08:41 PM
#5
Frenzied Member
That's the one *Slaps head* 
I knew I'd read it somewhere.
Harry.
"From one thing, know ten thousand things."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|