<html>
<head>
<title>OfBNeBu</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">OfBNeBu</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description">





<p><!--<primary>preprocessing
directives</primary>-->ASP (Active Server Pages : ANeBuT[o[y[W) ɂ́AC ꂨїގ̃RpCfBNeBuƂ悭<firstterm>OfBNeBu</firstterm>pӂĂ܂BASP fBNeBúAL̃vRpCfBNeBuƓlɁAXNvgNCAgɑMOɂ@\s悤ɁAWeb T[o[Ɏw܂BWeb T[o[́AXNvgg߂Oɑ̃fBNeBus܂B<span class="LITERAL">&lt;%=</span> <var class="replaceable">expression</var> <span class="LITERAL">%&gt;</span>  ASP fBNeBúAXNvg̐擪sɒuKvAT[o[TChCN[ht@CgpĎw肷邱Ƃ͂ł܂B̃fBNeBũtH[}bǵAOq <span class="LITERAL">&lt;%=</span> <var class="replaceable">expression</var> <span class="LITERAL">%&gt;</span> fBNeBuÂƂłB</p>




<span class="PROGRAMLISTING"><pre><!--<primary sortas="Aleft@percent@at">directive syntax</primary>-->&lt;%@ DIRECTIVE=<var class="replaceable">Value</var>%&gt;</pre></span>




<p>ŁA<span class="LITERAL">DIRECTIVE</span> ͂̃ZNVŎ ASP fBNeBu 1 łA<var class="replaceable">Value</var> ͂̃fBNeBu̗LlłB<span class="LITERAL">@</span> ƃfBNeBůԂɂ́A󔒂Kv܂B܂AOfBNeBúA<span class="LITERAL">&lt;%...%&gt;</span> ؂蕶ɔzuKv܂B</p>




<p>L ASP OfBNeBû͎ƂłBڍׂɂĂ͖{͂̌Ő܂B</p>




<ul>

<li>CODEPAGE</li>

<li>ENABLESESSIONSTATE</li>

<li>LANGUAGE</li>

<li>LCID</li>

<li>TRANSACTION</li>

</ul>
</td></tr>
</table>
</div>
<div id="PreprocessingDirectivesCommentsTroubleshooting">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
OfBNeBu : RgуguV[eBO</td>
<td class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2">&nbsp;</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">




<p><!--<primary>comments and
troubleshooting</primary><secondary>preprocessor
directives</secondary>--><span class="LITERAL">@</span> ƃfBNeBuԂ̋󔒁AуfBNeBuXNvg̐擪sɔzuƂv́A\Iɂ ASP fBNeBu̍łdvȓłB̃fBNeBugpƂɔłʓIȃG[́A󔒂}ȂAXNvg̐擪sɃfBNeBuw肵ȂƂɂ܂B</p>




<p><span class="LITERAL">&lt;%=</span> <var class="replaceable">expression</var> <span class="LITERAL">%&gt;</span>, ̃fBNeBuXNvg̐擪sɔzuKvꍇɁAǂ̂悤ɂ̃fBNeBuw肷̂₷邩܂B̃fBNeBuw肷ɂ́A̍\gp܂B</p>




<span class="PROGRAMLISTING"><pre>&lt;%@ DIRECTIVE1=<var class="replaceable">Value</var>DIRECTIVE2=<var class="replaceable">Value</var> %&gt;</pre></span>




<p>efBNeBůԂɏȂƂ 1 ̋󔒂}Kv܂B܂A (=) ̑Oɋ󔒂}邱Ƃ͂ł܂B</p>
</td>
</tr>
</table>
</div>
<div id="CODEPAGE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
CODEPAGE</td>
<td class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><span class="LITERAL">&lt;%@CODEPAGE=</span><var class="replaceable">uintCodePage</var><span class="LITERAL">%&gt;</span>
</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">
<p><!--<primary>CODEPAGE directive</primary>-->
<!--<primary>character
sets</primary><secondary>setting</secondary>-->T[o[̃XNvg̉߂Ɏgp镶Zbg (܂̓R[hy[W) ݒ肵܂BěƃP[́AŗL̃R[hy[Wgp܂B̃fBNeBuɂ́AT[o[̃XNvg߂@\Ă܂B̋@\́ASession IuWFNg <!--<primary>CodePage property
(Session)</primary>-->CodePage vpeBɂANCAgɑMꂽ HTML NCAgŉ߂@\ƗގĂ܂BA<span class="LITERAL">CODEPAGE</span> OfBNeBuXNvgg̉ߕ@̂ɑ΂āASession IuWFNg CodePage vpeB͌ʂ HTML ̏@ƂɒӂĂB</p>




</td>
</tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td></tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">




<dl>
<dt><var class="replaceable">uintCodePage</var></dt>
<dd><p>Ȃ̐lŁAASP XNvgsĂ Web T[o[p̗LȃR[hy[WɑΉ܂B</p></dd>

</dl>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<span class="PROGRAMLISTING"><pre>&lt;%@ CODEPAGE=932%&gt;

' This code sets the code page to OEM 932, which is
' used for Japanese Kanji.</pre></span>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<p>XNvgɁA<span class="LITERAL">CODEPAGE</span> fBNeBu Session IuWFNg CodePage vpeB̗wł܂B̏ꍇA<span class="LITERAL">CODEPAGE</span> fBNeBu̕Ȃ̐ZbggpăT[o[̃XNvg߂ASession IuWFNg CodePage vpeB̃R[hy[WZbggpăNCAg߂ł܂B</p>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="ENABLESESSIONSTATE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
ENABLESESSIONSTATE</td>
<td class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><span class="LITERAL">&lt;%@ ENABLESESSIONSTATE=True|False%&gt;</span>
</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">
<p><!--<primary>ENABLESESSIONSTATE
directive</primary>--> <!--<primary>users,
information on</primary><secondary>enabling storage
of</secondary>--> <!--<primary>storing user
information</primary>--> <!--<primary>user
sessions</primary><secondary>enabling user information
storage</secondary>-->[U[ŗL̃ZbV̊i[I (<span class="LITERAL">True</span>) ܂̓It (<span class="LITERAL">False</span>) ɂ܂B̒l̓ftHg <span class="LITERAL">True</span> łB</p>




</td>
</tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td></tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">




<p>Ȃ</p>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<span class="PROGRAMLISTING"><pre>&lt;%@ ENABLESESSIONSTATE=False%&gt;

' This code prevents the web server from storing
' user session information.</pre></span>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<p>WXgłZbVԂ̊i[Lɂł܂ÃfBNeBuł́A啝ȏ_XNvgƂɓ܂BWXgݒgpăZbVԂ̏𐧌䂵ĂꍇÃfBNeBugpƁA̐ݒ肪㏑܂B</p>




<p>̃fBNeBu <span class="LITERAL">False</span> ɐݒ肷ƁAZbVXR[v̕ϐ܂̓IuWFNgɊi[łȂȂ܂B̂߁AKvɉāAe[U[ێ邽߂ɑ̃\bhɈˑKv܂BAɎ̗_܂B</p>




<ul><dd><p>	NbL[gpĂNCAg̃uEUɈˑ܂B</p></dd><dd><p>Web T[o[ɂT[o[XNvg̏x債܂B</p></dd></ul>
</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="LANGUAGE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
LANGUAGE</td>
<td class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><span class="LITERAL">&lt;%@ LANGUAGE=</span><var class="replaceable">ScriptingEngine</var><span class="LITERAL">%&gt;</span>
</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">
<p><!--<primary>LANGUAGE directive</primary>-->
<!--<primary>scripting languages</primary><secondary>setting
default for processing</secondary>-->ASP ̃XNvg̏ Web T[o[gpAftHg̃XNvgGWݒ肵܂BftHg VBScript ɐݒ肳܂B</p>




</td>
</tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td></tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">




<dl>
<dt><var class="replaceable">ScriptingEngine</var></dt>
<dd><p>IIS (C^[lbgCtH[VT[o[) FłLȃXNvgGWłBLȃXNvgGWƂẮAVBScriptAJScriptAPerlScriptAPythonA REXX ܂B</p></dd>

</dl>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<span class="PROGRAMLISTING"><pre>&lt;%@ LANGUAGE="JScript"%&gt;

' This code sets the language for the current page to
' JScript, Microsoft's interpretation of the JavaScript
' scripting language. All script on this page will be 
' interpreted using the JScript DLL.</pre></span>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<p><span class="LITERAL">LANGUAGE</span> fBNeBuݒ肵ĂAXNvgy[Wő̃XNvgGW̎gp֎~킯ł͂܂B݂̃y[W̃XNvg߂ftHg̃XNvgGWݒ肳邾łB̗ł́Ay[W̃ftHg̃XNvgGW JScript ɐݒ肵ȂÃvV[W VBScript gp@܂B</p>




<span class="PROGRAMLISTING"><pre>&lt;%@ LANGUAGE="JScript"%&gt;
&lt;SCRIPT LANGUAGE="VBScript" RUNAT="Server"&gt;
Sub ShowReport( )
	' This script will be interpreted using the VBScript 
	' scripting engine. 
End Sub
&lt;/SCRIPT&gt;</pre></span>




<p>܂A<span class="LITERAL">LANGUAGE</span> fBNeBu̒lݒ肵ĂANCAgŎgpXNvgGWɂ͉e^܂BƂ΁AT[o[̃XNvg <span class="LITERAL">LANGUAGE</span>  PerlScript ɐݒ肵ꍇłÂ̗悤ɃNCAg <span class="LITERAL">&lt;SCRIPT&gt;</span> ^O <span class="LITERAL">LANGUAGE</span>  JScript ɐݒł܂B</p>




<span class="PROGRAMLISTING"><pre>&lt;%@ LANGUAGE="PerlScript"%&gt;

&lt;%
' All server-side script is interpreted using the PerlScript
' scripting engine.
%&gt;

HTML here...
&lt;SCRIPT LANGUAGE="JScript"&gt;
function btnReport_onClick
    ' This script will be interpreted using the JScript 
    ' scripting engine.
End Sub
&lt;/SCRIPT&gt;</pre></span>


<p>IIS ł́AVBScript  JScript ̃XNvgGŴ݃CXg[Ă܂Bׂ̂ẴXNvgGẂAʓr擾ăCXg[Kv܂B</p>
</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="LCID">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
LCID</td>
<td class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><span class="LITERAL">&lt;%@ LCID=</span><var class="replaceable">dwordLCID</var><span class="LITERAL">%&gt;</span>
</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">
<p><!--<primary>LCID directive</primary>-->
<!--<primary>locale</primary><secondary>setting identifier
for</secondary>-->w肳ꂽXNvgɗLȃP[ ID ݒ肵܂B̃fBNeBúAT[o[̃f[^ɎgpẽtH[}bg (tAȂ) w肵܂B</p>




</td>
</tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td></tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">




<dl>
<dt><var class="replaceable">dwordLCID</var></dt>
<dd><p>LȃP[ ID \_u[hl (32 rbgȂ)łB</p></dd>

</dl>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<span class="PROGRAMLISTING"><pre>&lt;%@ LCID=1036%&gt;

' This code sets the locale ID for the server-side
' script to that for French.</pre></span>





</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<p><span class="LITERAL">CODEPAGE</span> fBNeBuݒ肵ĂASession IuWFNg CodePage vpeBAуNCAgŎgp镶ZbgɉeȂ̂ƓlA<span class="LITERAL">LCID</span> fBNeBuݒ肵ĂA
NCAgŎgp <!--<primary>LCID property (Session)</primary>-->LCID ɉe͂܂BALCID OfBNeBuXNvgg̉ߕ@̂ɑ΂āASession IuWFNg LCID vpeB͌ʂ HTML ̏@ƂɒӂĂB</p>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
<div id="TRANSACTION">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<td class="NAME">
TRANSACTION</td>
<td class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td class="usage" colspan="2"><span class="LITERAL">&lt;%@</span> <span class="LITERAL">TRANSACTION=</span><var class="replaceable">strValue</var><span class="LITERAL">%&gt;</span>
</td></tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr><td colspan="2" class="description">
<p><!--<primary>TRANSACTION directive</primary>-->
<!--<primary>transactional
scripts</primary>-->XNvgŜP̃gUNVƂď悤ɁAWeb T[o[Ɏw܂BXNvgŃgUNVKvƂ悤ɐݒ肷ƁAWeb T[o[ Microsoft Transaction Server gpāAXNvgŜ 1 ̒P (܂̓gUNV) Ƃď邩A܂Ȃ悤ɂ܂B_ł́AgUNVŃf[^x[X̂݉\łB</p>




</td>
</tr>
<tr><td colspan="2" class="CLEARSEPARATION">&nbsp;</td></tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE">p[^</td>
</tr>
<tr>
<td colspan="2" class="description">




<dl>
<dt><var class="replaceable">strValue</var></dt>
<dd><p><var class="replaceable">strValue</var> p[^Ɏwłl͎̂ƂłB</p></dd>




<dt><span class="LITERAL">Required</span></dt>
<dd><p>݂̃XNvgŃgUNVKvȂƂ Web T[o[Ɏw܂B</p></dd>




<dt><span class="LITERAL">Requires_New</span></dt>
<dd><p>݂̃XNvgŐVgUNVKvȂƂ Web T[o[Ɏw܂B</p></dd>




<dt><span class="LITERAL">Supported</span></dt>
<dd><p>gUNVJnȂƂ Web T[o[Ɏw܂B</p></dd>




<dt><span class="LITERAL">Not_Supported</span></dt>
<dd><p>gUNVJnȂƂ Web T[o[Ɏw܂B</p></dd>

</dl>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<span class="PROGRAMLISTING"><pre>&lt;%@ TRANSACTION=Required%&gt;

' This code instructs the web server to start a new
' transaction for the current script.</pre></span>




</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="DESCRIPTIONTITLE"></td>
</tr>
<tr>
<td colspan="2" class="description">




<p><span class="LITERAL">TRANSACTION</span> fBNeBu̒l͕ł͂܂B̂߁A󔒂܂ޒlɂ̓A_[XRAgpKv܂ (<span class="LITERAL">Requires_New</span>  <span class="LITERAL">Not_Supported</span>)B<link linkend="ch06-1-fm2xml"> 6 </link>Ő悤ɁAgUNVł 1 ̃XNvĝ݃JvZł܂B<span class="LITERAL">TRANSACTION</span> fBNeBugUNVXNvg̍ŏ̍sɎw肳Ă邱ƂmFKv܂BȊȌꍇAG[܂BŌɁAgUNV <filename>GLOBAL.ASA</filename> R[h̓JvZł܂B</p>




<p>gUNVŃJvZꂽXNvgŃG[ꍇAMicrosoft Transaction Server ́AgUNVT|[gCӂ̃ANV[obN܂B_ł́Af[^x[XANV̂݃gUNVT|[g܂BƂ΁AMTS x[X̃gUNVł́AׂẴfBXNT|[gĂ킯ł͂ȂȀ͎蓮Ń[obNKv܂B</p>



</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
</table>
</div>
</body>
</html>
