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




  • PICSLabel
    A string that is a properly formatted PICS label. The value specified by PICSLabel will be appended to the pics-label response header.

Applies To

Response Object


The PICS property inserts any string in the header, whether or not it represents a valid PICS label.

If a single page contains multiple tags containing Response.PICS, each instance will replace the PICS label set by the previous one. As a result, the PICS label will be set to the value specified by the last instance of Response.PICS in the page.

Because PICS labels contain quotes, you must replace each quote with

" & chr(34) & "


Example Code

For an .asp file that includes:

Response.PICS("(PICS-1.1 <> 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 <> labels on "1997.01.05T08:15-0500" until "1999.12.31T23:59-0000" ratings (v 0 s 0 l 0 n 0)) 


Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS