- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
function web_set_header(const name, value: string): boolean;
Arguments:
-
name |
Header name part |
value |
Header value part |
Description:
-
Sets HTTP response header. If such header is already set it will be replaced. Call this function before any output if output_buffering is disabled in psp.conf.
Returns:
-
TRUE on success, FALSE on error.
Usage:
-
web_set_header('Pragma', 'no-cache');
See also:
-
web_get_header, web_put_header.
|