* Demonstration systems: This User Language shows how the $WEB_ * functions are used to interrogate header parameters and their * values. Begin %rc is Float %j is Float %x is Float %j = 0 %rc = $SetG('TITLE',- 'Header Query Functions Demo / Janus Web Server' ) %rc = $Web_Type('TEXT/HTML') %rc = $Web_Sub('@@') %rc = $Web_On * Replace this with your own "top-of-page" html * In JANWEB Include WEB/TEMPLATE_TOP Html
Header parameters are sent to the web server with each request for a URL. They describe aspects of the user's browser or operating system. Using Janus Web functions we've parsed every header parameter your browser sends and have presented them below:
| Parameter Name | Parameter Value |
| {$WEB_HDR_NAME(%x)} | {$WEB_HDR_PARM($WEB_HDR_NAME(%x))} |
How can you use header parameters? Well, if you You can use it to figure out what browser the client is using, so you can customize your site to particular browsers. You can detect Java or Javascript capability and you can see what mime-type encoding is being used with the sent page.
See the code that analyzed the header and built this page.
Note that there are also browser characteristics that are not stored in header parameters but can be queried via JavaScript function calls. Some of thes are:
You can view the JavaScript program used to determine these settings by looking at the source for this page.