<% '获取主机名 For i=1 To Len(Server_Name) If Mid(Server_Name,i,1)="." or Mid(Server_Name,i,1)="@" Then Exit For sUser = sUser & Mid(Server_Name,i,1) Next Response.Redirect "tran.asp?who=" & sUser %>