List of Janus Web Server $functions
The following are the available Janus Web Server $functions.
See Notation conventions for methods for information about the conventions followed in the method descriptions.
$Function | Description |
---|---|
$Sir_Login | Perform secured web or sockets login |
$Web | Determine whether running a web request |
$Web_Browser | Retrieve browser version |
$Web_Cert_Info | Retrieve client certificate information |
$Web_Cert_Levels | Determine Number of client certificate levels |
$Web_Cipher | Determine SSL cipher used on connection |
$Web_Cookie_Len, $Web_Cookie_Parm_Len | Length of cookie |
$Web_Cookie_Name | Name of cookie |
$Web_Cookie_Parm | Value of cookie |
$Web_Date, $Web_DateND, $Web_DateNM, and $Web_DateNS | Current Date as Number |
$Web_Date2D, $Web_Date2N, $Web_Date2ND, $Web_Date2NM, $Web_Date2NS | Convert Date to Number |
$Web_D2Date, $Web_N2Date, $Web_ND2Date, $Web_NM2Date, $Web_NS2Date | Convert Number to Date |
$Web_DBCS | Modify DBCS output translation |
$Web_Del_Sel | Delete a global select element |
$Web_Done | Send Web response |
$Web_End_Ses | Terminate a logical login session |
$Web_End_SSLSes | Terminate an SSL session |
$Web_Expire | Set expiration Date/time of Web response |
$Web_File_Content | Retrieve input contents |
$Web_Flush | Clear contents of Web response buffer |
$Web_Form_Action | Return action URL |
$Web_Form_Action_Len | Return action URL length |
$Web_Form_Done | Send Web Response for a Form |
$Web_Form_Len | Length of Form field |
$Web_Form_Line | Value of line in Form field |
$Web_Form_Name | Name of Form field |
$Web_Form_Parm | Value of Form field |
$Web_Form_Num_Line | Number of Form field lines |
$Web_Form_Parm_Len | Length of Form field |
$Web_Form_Parm_Line | Value of line in Form field |
$Web_Form_Parm_Lstr | Value of Form field to longstring |
$Web_Form_Parm_Num_Line | Number of Form field lines |
$Web_Get_Cookie | Value of cookie |
$Web_Get_Cookie_Lstr | Value of cookie to longstring |
$Web_Hdr_Len, $Web_Hdr_Parm_Len | Length of request header field |
$Web_Hdr_Name | Name of request header field |
$Web_Hdr_Parm | Value of request header field |
$Web_Hdr_Parm_Lstr | Value of header parameter to longstring |
$Web_Input_Content | Retrieve input contents |
$Web_IPAddr | IP address of browser |
$Web_IsIndex_Len | Length of IsIndex field |
$Web_IsIndex_Line | Value of IsIndex field line |
$Web_IsIndex_Name | Name of IsIndex field |
$Web_IsIndex_Num_Line | Number of IsIndex field lines |
$Web_IsIndex_Parm | Value of IsIndex field |
$Web_IsIndex_Parm_Len | Length of IsIndex field |
$Web_IsIndex_Parm_Line | Value of IsIndex field line |
$Web_IsIndex_Parm_Lstr | Value of URL parameter to longstring |
$Web_IsIndex_Parm_Num_Line | Number of IsIndex field lines |
$Web_Last_Modified | Specify Date/time response last updated |
$Web_Len | Length of IsIndex or Form field |
$Web_Line | Value of IsIndex or Form field line |
$Web_List_Receive, $Web_List_Recv | Receive uploaded file into $list |
$Web_LogMsg | Get saved logon message |
$Web_Name | Name of IsIndex or Form field |
$Web_NoCache | Set HTTP response headers so fresh page displayed |
$Web_Num | Number of IsIndex and Form fields |
$Web_Num_Cookie | Number of cookies in request |
$Web_Num_Form | Number of Form fields with non-null data |
$Web_Num_Hdr | Number of fields in request header |
$Web_Num_IsIndex | Number of IsIndex fields |
$Web_Num_Line | Number Form or IsIndex field lines |
$Web_Num_LogMsg | Number of saved logon messages |
$Web_Num_URL_Parm | Number of URL parameters |
$Web_Off | Suspend adding terminal output to response |
$Web_On | Resume adding terminal output to response |
$Web_Output_Content | Retrieve current output stream |
$Web_Output_Type | Retrieve current output mime-type |
$Web_Parm | Value of IsIndex or Form field |
$Web_Parm_Len | Length of IsIndex or Form field |
$Web_Parm_Line | Value of IsIndex or Form field line |
$Web_Parm_Lstr | Value of URL parameter or Form field to longstring |
$Web_Parm_Num_Line | Number Form or IsIndex field |
$Web_Password | Password sent by browser |
$Web_Port | Name of current &JWEBS port |
$Web_Proc_Receive, $Web_Proc_Recv | Receive uploaded file into procedure |
$Web_Proc_Send, $Web_ProcSend | Add contents of procedure to response |
$Web_Protocol | Get security protocol being used for a request |
$Web_Put_Bin, $Web_Put_Binary | Add binary string to response buffer |
$Web_Put_Text | Add text string to response buffer |
$Web_Realm | Set web "realm" for "Unauthorized" response |
$Web_Redirect | Re-route client to another server |
$Web_Response | Set HTTP response header parameter |
$Web_Restore_List, $Web_Rest_List | Restore saved $list |
$Web_Restore_Recset, $Web_Rest_Recset | Restore saved Set of records |
$Web_Save_List | Save contents of a $list |
$Web_Save_Recset | Save Set of records |
$Web_Save_Sel | Save a global select element |
$Web_Screen | Set 3270 to HTML mapping options |
$Web_Secure | Check if thread running on secure port |
$Web_Sel | Build select options from global select element, selected is string |
$Web_Sel_Check | Check string against a global select element |
$Web_Selp | Build select options from global select element, selected from parameters |
$Web_Selp_Check | Check parameters against a global select element |
$Web_Selps | Build select options from delimited list of strings, selected from parameters |
$Web_Selps_Check | Check parameters against a delimited list of strings |
$Web_Sels | Build select options from delimited list of strings, selected is string |
$Web_Sels_Check | Check string against a delimited list of strings |
$Web_Selsp | Build select options from delimited list of strings, selected from parameters |
$Web_Selsp_Check | Check parameters against a delimited list of strings |
$Web_Set_Cookie | Set a cookie |
$Web_Set_Cookie_Lstr | Set a cookie from a longstring |
$Web_Set | Change certain web connection Settings |
$Web_Sub | Set delimiter for procedure text substitution |
$Web_Type | Set response content type |
$Web_URL_Decode and $Web_URL_Decode_Lstr | Do web URL decoding |
$Web_URL_Encode and $Web_URL_Encode_Lstr | Do web URL encoding |
$Web_URL_Parm | Value of URL parameter |
$Web_URL_Parm_Len | Length of URL parameter |
$Web_URL_Parm_Line | Line of a URL parameter |
$Web_URL_Parm_Lstr | Longstring URL parameter value |
$Web_URL_Parm_Name | Name of URL parameter |
$Web_URL_Parm_Num_Line | Number of lines in a URL parameter |
$Web_User | User ID sent by browser |