How to get LoginDateTime, LogOutdateTime,in ASP.NET
in my Application how to get LoginDateTime, LogOutdateTime, IPAddress, UseSearchInformation and UserName in ASP.Net and i need to store database when user was loggedin DateTime and LoggedOut DateTime,IPAddress, UseSearchInformation thease data want to be inserted into table. how to do please give me any suggests....
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sanjay KumarRank #561 · 4.3K reputationPosted Oct 30, 2013, 1:03 AM EDT
http://www.developerscode.com/2013/01/track-user-login-information-using.html
manjula d131 reputationPosted Oct 30, 2013, 3:33 AM EDT
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Oct 30, 2013, 3:55 AM EDT
for server ip:
string serverip== Request.ServerVariables["REMOTE_ADDR"];
for client or your system ip:
string clientip= System.Net.Dns.GetHostAddresses(System.Net.Dns.GetHostName()).GetValue(1).ToString();