Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

ASP Response Object PICS Property

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

Syntax: ASP Response Object PICS Property

Response.PICS(PICSLabel)

Parameters: ASP Response Object PICS Property

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: ASP Response Object PICS Property

The Response.PICS property inserts any string into the response header, whether or not it is a valid PICS label.

If a 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) & ".

Examples: ASP Response Object PICS Property

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 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.