You are here: irt.org | FAQ | JavaScript | Misc | Q1768 [ previous next ]
The following works only in you use CGI to output the REMOTE_USER value in the HTML back to the browser:
<p align=center> <br> <font size="4">You are logged on as <script type="text/javascript"> user = "<!-- #echo var="REMOTE_USER" -->"; document.write("'" + user + "'") </script> </font> </p>