How to dump and get output server variables in coldfusion

Server variables

serverVariables.cfm


<!DOCTYPE html">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>server variables - how to dump and get output server variables</title>
</head>

<body>
<h2 style="color:DodgerBlue; font-style:italic">coldfusion server variables example: how to get output</h2>
<hr width="500" align="left" color="PowderBlue" />
<br />

<cfdump var="#server#">
<br />


<font style="font-weight:bold; color:SeaGreen; font-size:large;">example server variable Output</font>
<br />

<font style="color:DeepPink; font-weight:bold; font-family:'Courier New', Courier, monospace;">
    PRODUCT VERSION[#server.ColdFusion.PRODUCTVERSION#]: <cfoutput>#server.ColdFusion.PRODUCTVERSION#</cfoutput>
</font>

</body>
</html>



More ColdFusion tutorials