Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Passing variables between client VBScript and ASP

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Passing variables between client VBScript and ASP
  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 >>
 Passing variables between client VBScript and ASP - 6/21/2001 11:21:35 AM   
  jmill72

 

Posts: 2
Score: 0
Joined: 6/21/2001
From:
Status: offline
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?
 
 
Post #: 1
 
 Re: Passing variables between client VBScript and ASP - 6/22/2001 1:22:16 PM   
  adminkoe

 

Posts: 117
Score: 0
Joined: 12/23/2000
From:
Status: offline
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

(in reply to jmill72)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Passing variables between client VBScript and ASP 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