[Mono-bugs] [Bug 43985][Nor] New - Request.UserHostAddress and UserHostName contents
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Sat, 31 May 2003 11:01:00 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by jlaban@wanadoo.fr.
http://bugzilla.ximian.com/show_bug.cgi?id=43985
--- shadow/43985 Sat May 31 11:01:00 2003
+++ shadow/43985.tmp.15358 Sat May 31 11:01:00 2003
@@ -0,0 +1,33 @@
+Bug#: 43985
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: jlaban@wanadoo.Fr
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Request.UserHostAddress and UserHostName contents
+
+Request.UserHostAddress and Request.UserHostName are not properly filled
+with client informations.
+
+Value returned is remoteAddress for both.
+
+
+Sample code :
+<%@ language="C#" %>
+<%@ Import namespace="System.IO" %>
+<html>
+UserHostAddress: <%=
+(Request.UserHostAddress==null?"<null>":Request.UserHostAddress)%> <br>
+UserHostName: <%=
+(Request.UserHostName==null?"<null>":Request.UserHostName)%> <br>
+</html>