HttpRequest data type

Official Content
This documentation is valid for:

Returns the web object's HTTP properties:

Properties

BaseURL RemoteAddress
ErrCode ScriptName
ErrDescription ScriptPath
Method Secure
QueryString ServerHost
Referrer ServerPort

The URL format is the follow : http://ServerHost:ServerPort/ScriptPath/ScriptName

Note: The BaseUrl returns: http://ServerHost:ServerPort/ScriptPath/

Ex: http://wiki.genexus.com/commwiki/servlet/heditpage?6933

Property Result
&Httprequest.RemoteAddress fe80::4081:515a:9289:2dc6%11 *
&Httprequest.BaseUrl http://wiki.genexus.com/commwiki/servlet/
&Httprequest.ErrDescription -
&Httprequest.Method GET
&Httprequest.QueryString -
&Httprequest.Referrer Caller's URL
&Httprequest.ScriptName heditpage?6933
&Httprequest.ScriptPath /commwiki/servlet/
&Httprequest.Secure 0.00
&Httprequest.ServerHost wiki.genexus.com
&Httprequest.ServerPort 80.00

(*) If localhost is used the RemoteAddress will return ::1

Methods

Scope

Objects: Procedures, Transactions, Web Panels
Languages: .NET, Java, Ruby (up to and including GeneXus X Evolution 3)

See Also