Security :: Track IP Address Of Website Visitor?
Sep 17, 2010I would like to develop a web application in which I can track the details(IP address...etc) of my website visitors....using vb
to implement the above web application
I would like to develop a web application in which I can track the details(IP address...etc) of my website visitors....using vb
to implement the above web application
I have a HTML webpage and I want to display the I.P address of last 5 visitors who visited the webpage.
I want to display these five I.P address on the webpage itself.
I'm trying to write an application that allows a visitor to use our service for 7 days. After 7 days, they will no longer be able to use it unless they sign up. What's the best way and the most accurate way to track it without collecting their credit card information? I'm trying to use the following code to track visiotr's ip. But I'm not sure if people are able to change their ip address or using a proxy server that will go through.
HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]
my project is visitortracking system in this we are tracking all of the visitors now i want to track the visitor history(second time)
View 1 Repliesis there any java script that i can put it on my master page and block specific I.P address ? And navigate the user visiting from that blocked I.P address to a different page ?
View 8 RepliesI'm facing with an old problem that it made me confuse very much. So I need your advice to make sure that I've been using the right way. My demand is to count the number of visitor in my website, so I've coded in Global.asax file:
[Code]....
Then, I used variable Application["SiteHitCounter"] and Application[CurrentUsers"] in another C# behind code file to show them on web page.The problem I'm facing is that the website can't show right total visitor number as in my database when I publish it to shared host.
I have an ASP.net/VB.net website, and I currently capture the visitor's IP address with the following code:
IPAddr = Page.Request.ServerVariables("HTTP_X_FORWARDED_FOR").
Does anyone know the corresponding code that can capture (1) the visitor's name (ID) and (2) location?
Note: I am trying to capture the true information from the visitor's computer, not false (proxy) information. As an example, the code:
"Page.Request.ServerVariables("REMOTE_ADDR")" produces a false (proxy) IP address.
I need to implement the website visitor count Usercontrol.
View 3 Replieshow to calculate the time the visitor has been on the website?
View 3 RepliesI want to display all the user's name who is login to my websites..
So I can see them who is online.
I know google analytics can do it,but i need to store each user data on my own database - for various advanced reasons and want to manipulate it. Here are my series of questions
1)How do i calculate time (when the visitor visits the website the timer should start....and when the visitor closes the page on my ASP.NEt Website timer should stop...so collecting his timespan to visit the website(when the visitor closes the page how should i make timer stop....and make an entry of his visit into the database....tricky...but i know there is a way out but how???).
2) I neede to know from which country the user came from...I know to collect the IP address but how could we find out which country the user came from..???
3)the next thing i need to know is..I want to display reports on my ASP.NEt Website of all visitor information,country,date time he visited and which technology i can use...crystal reports will be fine for me...or should any other.
4) i need to make it look like google analytics and make it super fast ...so my website visitors shouldnt wait too long..
how could i know the count for my website visitors/ Countries? how can i know the ip for my website visitor?
View 3 RepliesI created my own register system with my own register form together with the asp.net login control
the user register and the data is sent to my custom table and I used a method that check if the user exists in my table and the asp.net login control display the correct result "if exists or not"
everything appears to work correctly but I cannot access pages that deny anonymous users with the configuration file.
I am creating a site that will host my virtual resume and would like to set it up so the visitor would enter a simple code to advance past the default page. I am not looking to create a unique login for each visitor, I just want to control who sees the information online. I have used the web controls in visual studio express for for creating logins on other sites, which included additional support code like "User.Identity.IsAuthenticated == false" to redirect visitors on other sites but I am looking to see if there is a more simple way of handling this.
View 1 RepliesAm using a LoginView control which when clicked on I wish to go to the login page but in https not http, login under https then back to an http page. Would like to do the same when the visitor creates a new user with the CreateUserControl.
View 2 RepliesMy code:
protected void Page_Load(object sender, EventArgs e)
{
String userHost = Request.UserHostName
}
This is fetching the IP address alright, but now I want to know the country of the visitor and USE that country name to redirect the visitor to some webpage accordingly.
I came across this library but have no clue how to use it in the project. Actually I do, but I am not sure so I am asking.
http://ipaddressextensions.codeplex.com/
When I download from the above the ZIP folder has a DLL file and an XML file. Now, what do I do with these two? Like include in the project. Then what do I type in the code file?
Something like the following.
if (countryName=="France")
{
response.redirect("www.mysite.fr") [code]....
How do I go about it? Also do I really need to type SO many if blocks for ALL the countries. How do I shorten this code?
I want to save each request to the website. In general I want to include the following information: User IP, The web site url, user-if-exist, date-time. Response time, response success-failed status. Is it reasonable to collect the 1 and 2 in the same action? (like same HttpModule)? Do you know about any existing structure that I can follow that track every request/response-status to the website? The data need to be logged to sql server.
View 3 RepliesHow would I keep track of number of current sessions on my website?
View 5 RepliesI have a scenerio like i have a website where by visitors comes in like you have aspforum.net. I want following:
1. when user visit on my site a cookie or script generate on the user machine
2. then if user is searching for shoes, books, or any thing that data should come on my server database so i can trace what is user behavior and likes and dislike.
How can i achieve it...
Actually i need to track IP Adress for secuity and Requirment of my project. So anybody can tell how i can get IP Adress of user?
I am developing a module on that user can just register only one time for one Specific IP Address. User cant register 2nd time from Same IP Adress.
So for that i need to Trace IP Adress of Register user.
how to detect mac address in website?
View 8 RepliesI do have another PC on the intranet and am not able to access the website using my internal IP address.
View 1 RepliesHow to display Bing map dynamically in an ASP.NET website based on the address provided. I do not have latitude and longitude for the address so I have to pass address directly and display the map.
View 1 RepliesHow to add custom google location map to our website with all options like Map, Sat, Ter with open in goolgle map also into our asp.net application.
View 1 RepliesI'd like to do this in the Application_Start method, so I can write a 'robots.txt' file if the site is running on a test server.
View 2 Replies