Share Data between ASP and VBScript code in a .ASP program

Author Message
hwd007

  • Total Posts : 7
  • Scores: 0
  • Reward points : 0
  • Joined: 3/5/2006
  • Status: offline
Share Data between ASP and VBScript code in a .ASP program Tuesday, July 15, 2008 1:46 PM (permalink)
0
Share Data between ASP and VBScript code in a .ASP program
 
I'm stuck on this problem where I have an ASP file that has html, vbscript and ASP sections. The problem is that I cant work out how to share the variables data between different sections.  Particularly between the VBScript and ASP sections. Any Ideas ?
 
Program Flow
1. Initially I start with some html
2. I then run some VBscript
3. The VBscript then calls the ASP section
 
David
 
#1
    webber123456

    • Total Posts : 58
    • Scores: 0
    • Reward points : 0
    • Joined: 9/20/2007
    • Status: offline
    RE: Share Data between ASP and VBScript code in a .ASP program Thursday, July 17, 2008 7:14 AM (permalink)
    0
    "3. The VBscript then calls the ASP section"

    Sounds like you're using AJAX style coding, in which case the response from the server is returned to the call.

    an exampl eis here ...

    http://skeymedia.com/classic-asp-and-ajax-tutorial/




     
    #2
      hwd007

      • Total Posts : 7
      • Scores: 0
      • Reward points : 0
      • Joined: 3/5/2006
      • Status: offline
      RE: Share Data between ASP and VBScript code in a .ASP program Thursday, July 17, 2008 9:08 PM (permalink)
      0
      Thanks mate, I will take a closer look at Ajax.
      David
       
      #3
        hwd007

        • Total Posts : 7
        • Scores: 0
        • Reward points : 0
        • Joined: 3/5/2006
        • Status: offline
        RE: Share Data between ASP and VBScript code in a .ASP program Sunday, July 20, 2008 1:59 PM (permalink)
        0
        I ended up using Cookies instead, which I got working using ASP VBscript to write a client Cookie and then Client Side VBScript to open the Cookie and process the data. It works OK.  The Ajax system looks interesting though for open platform stuff so I will check it out further.
        David
         
        #4

          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