|





| |
We have two demonstrations here.
 | Server Vars is more of a
reference. It uses the "for each" syntax to enumerate all the
variables available to us. Here is the vbscript code that is executed in the
server (not the browser).
<table
border="1">
<%For
Each Item in Request.ServerVariables%>
<tr>
<td><%=
Item%></td>
<td><%=Request.ServerVariables(Item)
%></td>
</tr>
<%next%>
</table>
|
 | Detect Browser uses a server
variable to detect which kind of browser you are using. It then generates
either a layer tag for Netscape or a div tag for Internet Explorer (IE). It
displays the version number of the browser too. Lastly, it demonstrates a
mouse roll-over technique that seems to work better in Netscape than IE.
|
|