Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


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

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,62401
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Share Data between ASP and VBScript code in a .ASP program
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Share Data between ASP and VBScript code in a .ASP program - 7/15/2008 12:46:55 PM   
  hwd007

 

Posts: 7
Score: 0
Joined: 3/5/2006
Status: offline
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
 
 
Post #: 1
 
 RE: Share Data between ASP and VBScript code in a .ASP ... - 7/17/2008 6:14:37 AM   
  webber123456

 

Posts: 37
Score: 0
Joined: 9/20/2007
Status: offline
"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/

(in reply to hwd007)
 
 
Post #: 2
 
 RE: Share Data between ASP and VBScript code in a .ASP ... - 7/17/2008 8:08:19 PM   
  hwd007

 

Posts: 7
Score: 0
Joined: 3/5/2006
Status: offline
Thanks mate, I will take a closer look at Ajax.

_____________________________

David

(in reply to hwd007)
 
 
Post #: 3
 
 RE: Share Data between ASP and VBScript code in a .ASP ... - 7/20/2008 12:59:40 PM   
  hwd007

 

Posts: 7
Score: 0
Joined: 3/5/2006
Status: offline
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

(in reply to hwd007)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Share Data between ASP and VBScript code in a .ASP program Page: [1]
Jump to:





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
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts