2025-04-27 07:49:33 -04:00

94 lines
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>PICS</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
TempString = navigator.appVersion
if (navigator.appName == "Microsoft Internet Explorer"){
// Check to see if browser is Microsoft
if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else {
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
}
}
else if (navigator.appName == "Netscape") {
// Check to see if browser is Netscape
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Window_OnLoad()
Dim frmContents
On Error Resume Next
If Not Parent Is Nothing Then
Set frmContents = Parent.Contents
If Not frmContents Is Nothing Then
frmContents.Window.TOCSynch_Click
End If
End If
End Sub
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H4><A NAME="_pics"></A><SUP></SUP>PICS</H4>
<P>The <B>PICS</B> property adds a value to the pics-label response header.</P>
<H6>Syntax</H6>
<P><B>Response.PICS</B>(<I>PICSLabel</I>)</P>
<P>&nbsp;</P>
<H6>Parameters</H6>
<DL>
<DT><I>PICSLabel</I></DT>
<DD>A string that is a properly formatted PICS label. The value specified by <I>PICSLabel</I> will be appended to the pics-label response header.</DD>
</DL>
<H6>Example</H6>
<P>For an .asp file that includes</P>
<PRE><CODE>&lt;%
Response.PICS("(PICS-1.1 &lt;http://www.rsac.org/ratingv01.html&gt; labels on " &amp; chr(34) &amp; "1997.01.05T08:15-0500" &amp; chr(34) &amp; " until" &amp; chr(34) &amp; "1999.12.31T23:59-0000" &amp; chr(34) &amp; " ratings (v 0 s 0 l 0 n 0))")
%&gt;
</CODE></PRE>
<P>the following header would be added:</P>
<PRE><CODE>PICS-label:(PICS-1.1 &lt;http://www.rsac.org/ratingv01.html&gt; labels on "1997.01.05T08:15-0500" until "1999.12.31T23:59-0000" ratings (v 0 s 0 l 0 n 0))
</CODE></PRE>
<H6>Remarks</H6>
<P>The <B>PICS</B> property inserts any string in the header, whether or not it represents a valid PICS label.</P>
<P>If a single page contains multiple tags containing <B>Response.PICS</B>, 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 <B>Response.PICS </B>in the page.</P>
<P>Because PICS labels contain quotes, you must replace each quote with <CODE>" &amp; chr(34) &amp; "</CODE>.</P>
<H6>Applies To</H6>
<P><A HREF="/iishelp/iis/htm/asp/vbob5sj8.htm"><B>Response</B> Object</A></P>
<hr class="iis" size="1">
<p align="center"><em><a href="../../../common/colegal.htm">&copy; 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
</BODY>
</HTML>