WebSession.RawHeaders

From Xojo Documentation

Method

WebSession.RawHeaders(Name as String) As String

Supported for all project types and targets.

Returns the raw header information.

Notes

The raw header contains information about the browser, platform and other settings.

Sample raw header:

 Host:127.0.0.1:8080
 Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
 Cookie:sessionid=fc827d5d805d8088f85a20d035d0d939; ToDoUser=Paul
 User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/537.75.14
 Accept-Language:en-us
 Accept-Encoding:gzip, deflate
 Connection:keep-alive

Examples

Displays the raw header information in a Text Area. This code is in the Shown event handler:

Me.Text = Session.RawHeaders