CGI_Header
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > CGI > CGI_Header |
Description
Writes a string into the HTTP header.
Syntax
n = CGI_Header(sText)
Returns
Returns a Number
Numbers of characters written to the HTTP header or zero if the function fails..
Parameters
Name |
Type |
Optional |
Meaning |
sText |
String |
No |
String to put into the HTTP header |
Remarks
If the output of CGI_Write is bufferized also the Header's output is bufferized.
Restrictions
See also
Examples
CGI_Header("WWW-Authenticate: Negotiate")
CGI_header("Cache-Control: public")