Home All Groups Group Topic Archive Search About

Request.Item property

Author
22 Dec 2005 7:21 PM
Ken Carter
I've been pulling my hair out all morning... hmmm guess we are into the
afternoon now... on retreving Request.Item Property.  The key I'm trying to
pull is REMOTE_USER. 

The closest I've come to getting this to work is the following line of code:
username = Request.Item (ByVal REMOTE_USER As String)As String

However, the ByValu keep gumming up the works with the IDE telling me that
it is expecting an expression (Expression Expected). I can't seem to find any
thing that will work.  Taking out the ByVal will result in the IDE telling
you that REMOTE_USER is not define.

I am using Request.UserHostAddress and Request.UserHostName in the same area
with no problems at all.

I'm working in VS2005 Professional. Below is a url to the documentation on
it. Question is... anyone know how to get this to work or know what i'm doing
wrong?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttprequestmemberstopic.asp

Thanks!

AddThis Social Bookmark Button