VBScript vs JavaScript

Results 1 to 2 of 2

Thread: VBScript vs JavaScript

  1. #1
    Mark Guest

    Default VBScript vs JavaScript

    I need to insert some values which I get from the user<BR>to the Session Object the code is:<BR>&#060;%<BR>var name=Request.Form("name")<BR>var user_id=Request.Form("user_id")<BR><BR>Session(nam e)=user_id;<BR>%&#062;<BR><BR>The problem is that I write in JavaScript (as you have already<BR>noticed). And it doesn&#039t work .But . The most annoying thing<BR>is that the very same code works in VBScript.<BR>May be there is some trick I am not aware of , or thete is<BR>nothing to do ? <BR>

  2. #2
    Ben Jiang Guest

    Default RE: VBScript vs JavaScript

    You perhaps forget to tell the script engine to use javascript as your server script language! As VBScript is a default language when your web server using IIS on NT platform.<BR><BR>Hope this may help<BR>Ben Jiang

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts