|
|
|
|
PageReadHeaderHTTP (Function) Reads and returns one or more HTTP headers received by the current page (these headers are sent by the client to the server in the current request).
sReferer is string = PageReadHeaderHTTP("Referer")
nIndiceEnTete is int
sUnEnTete is string
sTousLesEnTetes is string
LOOP
nIndiceEnTete ++
sUnEnTete = PageReadHeaderHTTP(nIndiceEnTete)
IF sUnEnTete = "" THEN BREAK
sTousLesEnTetes += [CR] + sUnEnTete
END
Info(sTousLesEnTetes)
Sintaxis
Reading a header identified by its name Ocultar los detalles
<Result> = PageReadHeaderHTTP(<Header to read>)
<Result>: Character string - Header value.
- Empty string ("") if the header is not found.
<Header to read>: Character string Name of the header to be read.
Reading a header identified by its index Ocultar los detalles
<Result> = PageReadHeaderHTTP(<Subscript>)
<Result>: Character string - Header value. The header name is returned in uppercase characters and the dashes are replaced with "underscore" characters (the initial name of HTTP header as it was sent by the client is not available).
- Empty string ("") if there is no header to read.
<Subscript>: Integer Index of the header to be read. The first header to be read has index 1. Observaciones - In a dynamic site, the headers are the HTTP headers received when connecting to the site.
- To list all the headers, use the syntax by subscript until the function returns an empty string.
Componente: wd290page.dll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|