Red Hat Version4.1 ユーザーズマニュアル

ページ / 156
Appendix B, Gateway Directives Reference 93
Context-Related Directives
Context-Related Directives
The context-related directives GCONTEXT and PCONTEXT appear within a 
line, and are not required to appear at the beginning of a line. This is an 
exception to the rule. All other directives must appear at the beginning of a 
line, to be recognized by the directory server.
GCONTEXT
Description 
The <!-- GCONTEXT--> directive appears within an URL and is used in the 
invocation of CGIs through GET operations. <!-- GCONTEXT--> can appear 
anywhere on a line, and more than once within a line. The Gateway CGI 
reading <!--GCONTEXT --> replaces it with the Gateway context it has at the 
time.
Arguments
None.
Example
<a href=/dsgw/bin/lang?<?-- GCONTEXT -->&file=auth.html>click</a>
PCONTEXT
Description 
The <!-- PCONTEXT--> directive must appear on a line by itself. The Gateway 
CGI reading <!--PCONTEXT --> replaces it with a hidden variable indicating the 
context it has at the time.
Arguments
None. 
Example
<form method=post action=/dsgw.bin/dosearch>
<input type=hidden name=dn valute=””>