Fetching Website Visitor Details By Email
-
Hi All I am developing a website in C# using VS 2005, Is it possible to get 1) Visitor IP 2) Visitor Country 3) Visitor Browser Details 4) Visitor Logged Time as email to my gmail account Kind Regards RK
-
Hi All I am developing a website in C# using VS 2005, Is it possible to get 1) Visitor IP 2) Visitor Country 3) Visitor Browser Details 4) Visitor Logged Time as email to my gmail account Kind Regards RK
You can store this data in a database and use an automated process, perhaps a SQL Job, to format and email it. There is nothing built-in that will do this if that's what you are asking.
I know the language. I've read a book. - _Madmatt
-
Hi All I am developing a website in C# using VS 2005, Is it possible to get 1) Visitor IP 2) Visitor Country 3) Visitor Browser Details 4) Visitor Logged Time as email to my gmail account Kind Regards RK
Assumption: ASP.NET You can get the first three from Request.Headers, but not the last. The last is probably not possible, since everything is stateless and you can't tell when they leave unless there is a "log out" of some kind. If there is, then that's just a matter of doing a time difference between login and logout. Emailing can be done with System.Net.Mail as long as you have an available SMTP server out there you can use.
-
Hi All I am developing a website in C# using VS 2005, Is it possible to get 1) Visitor IP 2) Visitor Country 3) Visitor Browser Details 4) Visitor Logged Time as email to my gmail account Kind Regards RK
E-mail seems like a terribly inefficient way to record that kind of data. Try adding google analytics[^] to your site. It will give you way more than what you are looking for and probably take less time to add than some custom code for the short list you gave.