Passing variables between client VBScript and ASP

Author Message
jmill72

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 6/21/2001
  • Location:
  • Status: offline
Passing variables between client VBScript and ASP Thursday, June 21, 2001 12:21 PM (permalink)
0
I'm creating an ASP application and I'm trying pass information from a client-side VBscript variable into ASP code. I need to pass an ID from one ASP page to another, and I'd like to either put it in Session or pass it as part of a QueryString, but preferably in Session. I can't get either way to work. I can put a constant into Session in a VBscript function, but I can't seem to get a VBscript variable into Session. Any ideas?

 
#1
    adminkoe

    • Total Posts : 114
    • Scores: 0
    • Reward points : 0
    • Joined: 12/23/2000
    • Location:
    • Status: offline
    Re: Passing variables between client VBScript and ASP Friday, June 22, 2001 2:22 PM (permalink)
    0
    Hi:),

    Try this, you can modify & streamline the sample code for your needs. This is just to show the method I use to solve the problem

    test1.asp
    ==========








    test2.asp
    =========








    test3.asp
    ===========
    <%
    session("id") = request.form("id")
    response.write session("id")
    %>

    Regards,
    Andi Zain
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9