Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Client computers IP-address?

Reply
Thread Tools

Client computers IP-address?

 
 
Alexander Duerloo
Guest
Posts: n/a
 
      02-08-2004
How can you know the IP-Adress of the client computer that is using the
ASP.NET application? I am making an application where users can log in to
the site, but the server must be able to associate the user's IP-Address
with a username. Can anyone help me?

Alexander Duerloo


 
Reply With Quote
 
 
 
 
DalePres
Guest
Posts: n/a
 
      02-08-2004
Request.ServerVariables["REMOTE_ADDR"]

Dale

"Alexander Duerloo" <> wrote in message
news:X%oVb.3187$...
> How can you know the IP-Adress of the client computer that is using the
> ASP.NET application? I am making an application where users can log in to
> the site, but the server must be able to associate the user's IP-Address
> with a username. Can anyone help me?
>
> Alexander Duerloo
>
>



 
Reply With Quote
 
 
 
 
Eric Lawrence [MSFT]
Guest
Posts: n/a
 
      02-08-2004
Be sure you understand all of the caveats when doing this-- For example, all
users clients behind the same proxy server will appear to have the same IP
address.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"DalePres" <don-t-spa-m-me@lea-ve-me-a-lone--.com> wrote in message
news:#...
> Request.ServerVariables["REMOTE_ADDR"]
>
> Dale
>
> "Alexander Duerloo" <> wrote in message
> news:X%oVb.3187$...
> > How can you know the IP-Adress of the client computer that is using the
> > ASP.NET application? I am making an application where users can log in

to
> > the site, but the server must be able to associate the user's IP-Address
> > with a username. Can anyone help me?
> >
> > Alexander Duerloo
> >
> >

>
>



 
Reply With Quote
 
DalePres
Guest
Posts: n/a
 
      02-08-2004
Yes but there is nothing that the server can do to see past the firewall and
get the client IP address. The client, of course, can do so but not with
the web browser. You would have to write some C# or VB.Net code to run on
the client outside the scope of the browser..

Dale

"Eric Lawrence [MSFT]" <> wrote in message
news:...
> Be sure you understand all of the caveats when doing this-- For example,

all
> users clients behind the same proxy server will appear to have the same IP
> address.
>
> --
> Thanks,
>
> Eric Lawrence
> Program Manager
> Assistance and Worldwide Services
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> "DalePres" <don-t-spa-m-me@lea-ve-me-a-lone--.com> wrote in message
> news:#...
> > Request.ServerVariables["REMOTE_ADDR"]
> >
> > Dale
> >
> > "Alexander Duerloo" <> wrote in message
> > news:X%oVb.3187$...
> > > How can you know the IP-Adress of the client computer that is using

the
> > > ASP.NET application? I am making an application where users can log in

> to
> > > the site, but the server must be able to associate the user's

IP-Address
> > > with a username. Can anyone help me?
> > >
> > > Alexander Duerloo
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thin Client Computers Raman MCSE 10 05-23-2007 01:40 PM
Cannot see workgroup computers by ''view workgroup computers'' - important! kimiraikkonen Computer Support 5 02-07-2007 12:06 PM
Computers Enabled Inc - Cheap Notebook Computers KUTEATLBOI@gmail.com Computer Information 0 03-09-2006 04:42 AM
How can I run server and client applications in two different computers? learning_C++ C++ 2 09-26-2004 07:44 PM
Detecting CLient Computers Settings =?Utf-8?B?QmlsbA==?= ASP .Net 2 05-31-2004 10:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57