|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ip address of Visitors
<i><b>Originally posted by : Ray (cheura@hotmail.com)</b></i><br />I know how to identify IP address of the visitors who visit my web server by using the the dot net command. However, how do we keep track of the visitors during the session and the time they have spent browsing the site.<br /><br />I can time when the visitor visit my web site but how do I time the visitor when he/she leaves the site. <br /><br />Please help..<br /><br />Thanks a million...<br /><br /><br />Ray<br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Doug Hagerman (DougH@Usbs-Panels.com)</b></i><br />Sorry, I don't have the answer but you said you new how to detect the IP address of a visitor to the web page? Could you either post or send me that code?<br /><br />Thanks,<br />Doug<br /><br /><br /><br />------------<br />Ray at 4/16/2002 12:54:31 AM<br /><br />I know how to identify IP address of the visitors who visit my web server by using the the dot net command. However, how do we keep track of the visitors during the session and the time they have spent browsing the site.<br /><br />I can time when the visitor visit my web site but how do I time the visitor when he/she leaves the site. <br /><br />Please help..<br /><br />Thanks a million...<br /><br /><br />Ray<br />
|
|
#3
|
|||
|
|||
|
Re: ip address of Visitors
To get the visitor IP as a string try
Request.UserHostAddress To make that into an IpAddress object try System.Net.IPAddress.Parse(Request.UserHostAddress ) |
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > ip address of Visitors |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|