514
CFML Language Reference
<CFIF MyTimeout Greater Than 0>
<hr size="2" color="#0000A0">
<P>Setting the timeout value to <CFOUTPUT>#MyTimeout#</
CFOUTPUT></P>
<CFSET code = SetProfileString(IniPath, Section, "timeout",
MyTimeout)>
<P>Value returned from SetProfileString: <CFOUTPUT>#code#</
CFOUTPUT></P>
<CFELSE>
<hr size="2" color="red">
<P>Timeout value should be greater than zero in order to
provide time for user response.</P>
<hr size="2" color="red">
</CFIF>
<CFELSE>
<P>The timeout value in your initialization file is already
<CFOUTPUT>#MyTimeout#</CFOUTPUT>.</P>
</CFIF>
<CFSET timeout = GetProfileString(IniPath, Section, "timeout")>
<CFSET DEFAULT= GetProfileString(IniPath, Section, "default")>
<H4>Boot Loader</H4>
<P>Timeout is set to: <CFOUTPUT>#timeout#</CFOUTPUT>.</P>
<P>Default directory is: <CFOUTPUT>#default#</CFOUTPUT>.</P>
</CFIF>
<FORM ACTION="setprofilestring.cfm" METHOD="POST">
<hr size="2" color="#0000A0">
<table cellspacing="2" cellpadding="2" border="0">
<tr>
<td>Full Path of Init File</td>
<td><INPUT TYPE="Text" NAME="IniPath" VALUE="C:\myboot.ini"></td>
</tr>
<tr>
<td>Timeout</td>
<td><INPUT TYPE="Text" NAME="MyTimeout" VALUE="30"></td>
</tr>
<tr>
<td><INPUT TYPE="Submit" NAME="Submit" VALUE="Submit"></td>
<td></td>
</tr>
</table>
</FORM>
<hr size="2" color="#0000A0">
</BODY>
</HTML>
Summary of Contents for COLDFUSION 4.5-CFML LANGUAGE
Page 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Page 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Page 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Page 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Page 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Page 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Page 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Page 584: ...560 CFMLLanguageReference...
Page 594: ...570 CFMLLanguageReference...