
Accessing Environment Variables from DHTML?
Thanks for the response, I am looking for an object that I guess I would
refer to from a .html to access the current machine environment variables.
I will probably make use of your input once I tackle .asp environment.
I do find the syntax and semantics of
Dim Session("Var1")
unusual/weird.
Quote:
>I'm not sure you are interested in ASP solution, but take a look at Session
>and Application objects in global.asa file created by InterDev. Actually,
>you don't need to use InterDev to create this file, but InterDev inserts
>comments about what they do.
>Anyway, use the following notation:
><% Option Explicit
>Dim Session("Var1")
>Session("Var1") = "Foo"
>' That object will exist until client closed the browser
>%>
>>Hi Fellow Scripter!!!
>>Look at doing something as simple as:
>> if ( Environ( "Var1" ) == "Foo" ) Then ...
>>prefer VBScript, but will take JScript.
>>Thank you.
>>remove the "m" in the address when replying via email, thanks.