This is my VBScript function:
<script language="JavaS cript" type="text/JavaScript">
Dim UN
Set objNet = CreateObject("W Script.NetWork" )
Set objUser = GetObject("WinN T://my domain/" & objNet.UserName )
UN = objNet.UserName & " (" & objUser.FullNam e & ")"
</script>
How can I reference the VBScript Variable UN in my ASP code?
<%=UN%> won't work because VBScript is on the client side and ASP is on the
server side
If I have to post it on one page and read it on another, how do I do that?
I'm somewhat new to ASP...
Thanks!
<script language="JavaS cript" type="text/JavaScript">
Dim UN
Set objNet = CreateObject("W Script.NetWork" )
Set objUser = GetObject("WinN T://my domain/" & objNet.UserName )
UN = objNet.UserName & " (" & objUser.FullNam e & ")"
</script>
How can I reference the VBScript Variable UN in my ASP code?
<%=UN%> won't work because VBScript is on the client side and ASP is on the
server side
If I have to post it on one page and read it on another, how do I do that?
I'm somewhat new to ASP...
Thanks!
Comment