Request.SErverv ariables("remot e_addr") will display the IP that the request
comes from, whether that's an IP of a proxy server, firewall, router, or the
client machine.
Ray at work
"Bill Crouch" <anonymous@disc ussions.microso ft.com> wrote in message
news:01bd01c3a9 3d$a988a630$a10 1280a@phx.gbl.. .[color=blue]
> I can't find the code to display the client IP address on
> the client browser. Shouldn't it be 'session. '?
>
> Bill[/color]
These are two of the "Session" code instances I am
currently playing with. Both display on the client PC
the session ID and the Date and Time.
Your Current Session ID is: <%=session.sess ionid %>
Today is: <% =Date() %>
The time is: <% =Time() %>
I had just thought that the IP display would be session
related.
Thanks!
[color=blue]
>-----Original Message-----
>Request.SErver variables("remo te_addr") will display the[/color]
IP that the request[color=blue]
>comes from, whether that's an IP of a proxy server,[/color]
firewall, router, or the[color=blue]
>client machine.
>
>Ray at work
>
>"Bill Crouch" <anonymous@disc ussions.microso ft.com>[/color]
wrote in message[color=blue]
>news:01bd01c3a 93d$a988a630$a1 01280a@phx.gbl. ..[color=green]
>> I can't find the code to display the client IP address[/color][/color]
on[color=blue][color=green]
>> the client browser. Shouldn't it be 'session. '?
>>
>> Bill[/color]
>
>
>.
>[/color]
On Wed, 12 Nov 2003 09:16:46 -0800,
<anonymous@disc ussions.microso ft.com> wrote:
[color=blue]
>These are two of the "Session" code instances I am
>currently playing with. Both display on the client PC
>the session ID and the Date and Time.
>
>
>Your Current Session ID is: <%=session.sess ionid %>
>
>Today is: <% =Date() %>
>
>The time is: <% =Time() %>
>
>I had just thought that the IP display would be session
>related.[/color]
The client's IP isn't related to a session, nor is the
Request.ServerV ariables method that good for identifying the user's
unique ID either since large ISP's will often proxy requests (AOL,
MSN, et. al.) and anyone behind a firewall will usually return the
firewall address.
Comment