Previous PageNext Page

6.3.15 PICS Property

The PICS property adds a value to the pics-label field of the response header.
 

Syntax

Response.PICS(PICSLabel)

Parameters

PICSLabel
A string that is a properly formatted PICS label. The value will be appended to the PICS-Label field in the response header.

Remarks

The Response.PICS property inserts any string into the response header, whether or not it is a valid PICS label.
 
If single page sets Response.PICS multiple times, each setting will replace the previous one. As a result, the PICS label will be set to the last Response.PICS instance on the page.
 
Because PICS labels contain quotes, you must replace quotes with " & chr(34) & ".
 

Example

For an .asp file that includes
 

<%

Response.PICS("(PICS-1.1 <http://www.rsac.org/ratingv01.html>

labels on " & chr(34) & "1997.01.05T08:15-0500" & chr(34) &

" until" & chr(34) & "1999.12.31T23:59-0000" & chr(34) &

" ratings (v 0 s 0 l 0 n 0))")

%>

the following header would be added
 

PICS-label:(PICS-1.1 <http://www.rsac.org/ratingv01.html>

labels on "1997.01.05T08:15-0500"

until "1999.12.31T23:59-0000"

ratings (v 0 s 0 l 0 n 0))


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page