Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

CSP:Class タグの使用

URL のデータを暗号化するには、リンク先の CSP ページに csp:class タグを追加し、その暗号化された属性に対する値を指定します。

<html> <body><csp:class encoded=1>

このタグを、ShowTimes の CSP ファイルの先頭近くに配置します。ShowTimes にリンクされているページに表示される URI は必ず暗号化されます。

—ShowTimes.csp—
ShowTimes.csp
<html> <body>
<csp:class encoded=1>
<csp:query 
        name="Times" 
        classname="Cinema.Show" 
        queryname="ShowTimes" 
        P1='#($Get(%request.Data("FilmID",1)))#'>

<table cellpadding=5>
<tr>
    <td><b>Time</b></td>
    <td><b>Theater</b></td>
</tr>
<csp:while condition="Times.Next()">
    <tr>
    <td>#(Times.Get("StartTime"))#</td>
    <td>#(Times.Get("TheaterName"))#</td>

    </tr>
</csp:while>
</table>
</body> </html>
FeedbackOpens in a new tab