|
-
Jul 29th, 2002, 01:10 AM
#1
Thread Starter
Junior Member
Catching IPs.... ASP.NET Project
I'm very new to asp, yet alone asp.net even...
I'm doing a website using asp.net, but what I wanna do is to be able to see who is on what page on the site. I may or maynot integrate a log in feature. I haven't decided, but how would be able to see what ip address is veiwing what page?
Then from there I would also like to be able to force a popup page on that user as well, and possible even a simple chat interface...
If you have any info on maybe where to start, I have some books on asp.net and vb.net... but can't really locate any information that would assist me in completing this...
If you have any info, links, or anything else that would help me. I would really appreciate it!
-
Aug 5th, 2002, 12:47 AM
#2
Lively Member
Dunno about the realtime ASP.NET
Well, I'm not sure on how to do the realtime ASP.NET logging thing (that's what you want, right?)
Anyway, I use an ASP hitcounter on my site, which saves the hits, unique hits (when the visitor's IP is not the same as the last one), IP and page path to an Access database. This stuff is then read with each visit to a page, and it updates the recordset with the new data.
Simple tidbit: To obtain a visitor's IP in ASP, simple use the Request.ServerVariable("Remote_addr"), and assign a variable to it or whatever.
P.S: Using Request.ServerVariable, you can also find out a visitor's browser type, the HTTP cookie status, his/her privacy settings, etc; as well as the server's security, and if it allows for SSL encryption, amongst other things.
Last edited by trojjer; Sep 27th, 2002 at 05:51 PM.
<% Session("OwNeD")=True %><html><body>Blah... <%="Now get your ass back to the twilight zone..."%></body></html>
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
|