1 Replies - 1779 Views - Last Post: 25 September 2012 - 05:12 AM Rate Topic: -----

#1 G_rose42  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 51
  • Joined: 15-December 10

Track visitors ip address

Posted 25 September 2012 - 05:03 AM

Hi,
I created one website in asp.net with c#.
in that i have to show visitor details to admin.. about visitor's logged in time, logout time and then their IP Address [currently in which system they are using to access our website].
i have no idea about to do this.ca any one guide me.


Thanku in advance

This post has been edited by G_rose42: 25 September 2012 - 05:05 AM

Is This A Good Question/Topic? 0
  • +

Replies To: Track visitors ip address

#2 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1004
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: Track visitors ip address

Posted 25 September 2012 - 05:12 AM

All you'd need to do is store these values in a database regarding each visitor.

If you're wondering how to get these values using ASP.NET, it will depend on how you handle logins. If you're using the default membership provider then you already have LastActive time available to you on the membership database, if not then only you would know how to get these values.

The best way would be to simply store values on the Login/Logout pages.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1