getting IP address in ASP page?

getting IP address in ASP page?

am 16.01.2008 02:33:11 von u16758

Is it possible to trace the IP address of the browser which launch the ASP
page in the server?
I'm trying to do the tracing for security purpose.

Thanks in advance...

--
Regards,
Pedestrian, Penang.

Message posted via http://www.webmasterkb.com

Re: getting IP address in ASP page?

am 16.01.2008 03:11:43 von McKirahan

"pedestrian via WebmasterKB.com" wrote in message
news:7e459f8631595@uwe...
> Is it possible to trace the IP address of the browser which launch the ASP
> page in the server?
> I'm trying to do the tracing for security purpose.

ASP ServerVariables Collection
http://www.w3schools.com/asp/coll_servervariables.asp

Try Request.ServerVariables("REMOTE_ADDR")

Re: getting IP address in ASP page?

am 16.01.2008 09:46:00 von exjxw.hannivoort

McKirahan wrote on 16 jan 2008 in
microsoft.public.inetserver.asp.general:

> "pedestrian via WebmasterKB.com" wrote in message
> news:7e459f8631595@uwe...
>> Is it possible to trace the IP address of the browser which launch
>> the ASP page in the server?
>> I'm trying to do the tracing for security purpose.
>
> ASP ServerVariables Collection
> http://www.w3schools.com/asp/coll_servervariables.asp
>
> Try Request.ServerVariables("REMOTE_ADDR")

Sure, we 'all' do.

However the security stinks.

Some users share a proxy ip with thousands of others,
others change their IP in mid air, I mean in mid session.

I do not know if you can impersonate an IP.

Checking for your own IP, if you have a fixed IP connection and do not
use a proxy seems reasonably safe, though I would not wage amounds of
money on that.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)