|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
request.userhostport
The Request object has a property "userhostaddress" that returns the
requester's host IP address. How could a "userhostport" be accomplished to get the requester's TCP port? -- Lance Beasley ENCO Electronic Systems Lance Beasley wrote:
> The Request object has a property "userhostaddress" that returns the The Request object has no such thing. The Request.ServerVariables> requester's host IP address. How could a "userhostport" be accomplished to > get the requester's TCP port? > > -- > Lance Beasley > ENCO Electronic Systems collection has a variable called REMOTE_ADDR which returns the IP address of the requester. Request.ServerVariables("SERVER_PORT") should give you what you want. Wait a minute - you're talking .NET aren't you? This is a classic asp newsgroup. ASP.NET is totally different. Try over at microsoft.public.dotnet.framework.aspnet. -- Mike Brind |
|||||||||||||||||||||||