client side vbscript access to server vars?

Discussion in 'ASP .Net' started by Mike Laskie, Aug 21, 2003.

  1. Mike Laskie

    Mike Laskie Guest

    Hi,

    Does the server still parse the client non-html script?

    Not sure on how to port code like this...

    <script>

    dim szSrvName
    szSrvName = "<%= Request.ServerVariables("ServerName") %>"

    ..
    ..
    ..
    </script>

    Thanks,

    - Mike
    Mike Laskie, Aug 21, 2003
    #1
    1. Advertising

  2. "Mike Laskie" <> wrote
    > Does the server still parse the client non-html script?
    > Not sure on how to port code like this...
    > <script>
    > dim szSrvName
    > szSrvName = "<%= Request.ServerVariables("ServerName") %>"
    >


    Yes, that will still work in ASP.NET.

    --

    Thanks,
    Carl Prothman
    Microsoft ASP.NET MVP
    http://www.able-consulting.com
    Carl Prothman [MVP], Aug 21, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eitan
    Replies:
    2
    Views:
    508
    Eitan
    Jun 4, 2005
  2. alan
    Replies:
    2
    Views:
    6,393
  3. COHENMARVIN
    Replies:
    2
    Views:
    864
    Jason Kester
    Oct 20, 2005
  4. David Shorthouse

    server-side vbscript call with javascript client-side

    David Shorthouse, Feb 2, 2005, in forum: ASP General
    Replies:
    2
    Views:
    345
    Mark Schupp
    Feb 3, 2005
  5. Replies:
    2
    Views:
    264
Loading...

Share This Page