Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

how to get IUSR name

what is the syntax to try to get the whole name of IUSR_servername


0
shirlng
Asked:
shirlng
1 Solution
 
Shad0rCommented:
<%
iusr = "IUSR_" & Request.ServerVariables("SERVER_NAME")
%>

That should work nicely :)
0
 
markhoyCommented:
to see all the servervariables try:

for each fld in request.servervariables
response.write fld & " = " & request.servervariables(fld) & "<BR>"
next

0
 
thomasdoddsCommented:
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now