Method SetMeta()


 

Syntax

:SetMeta( cVar, cVal )

 

Parameters

 

cVar

Meta Variable to include in the response.

 

cVal

The value of the Meta Variable.

 

Return

The length of the :MetaVars array.

 

Description

 

cVar

 

cVal

<meta http-equiv=

"content-type"

content=

"..."

<meta http-equiv=

"description"

content=

"..."

<meta http-equiv=

"expires"

content=

"..."

<meta http-equiv=

"keywords"

content=

"..."

<meta http-equiv=

"pics-label"

content=

"..."

<meta http-equiv=

"refresh"

content=

"..."

<meta http-equiv=

"reply-to"

content=

"..."

 

Example:

To automatically forward the User to another page after a short message, you could use the following.

     :SetMeta("Refresh","10;URL=Page2.htm")

 

Which would place the following Meta Tag in the displayed page.

     <META HTTP-EQUIV="Refresh" CONTENT="10;URL=Page2.htm">

 

This would then display the message page for 10 seconds and then automatically forward the User to "Page2.htm."

 

See Also:

:Message(), :Header(), :MetaVars

 



Contents