Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 17th, 2003, 07:23 AM
Authorized User
 
Join Date: Aug 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spraveens
Default Passing Parameters between 2 asp files

Hello !! My Problem goes like this :

Consider 2 files test1.asp and test2.asp , now using forms we pass a parameter param1 from test1.asp to test2.asp where we receive it using command request.form("param1"), now I need to pass another parameter param2 from test1.asp to test2.asp with out using forms, Iam unable to pass both the parameters at the same time as one parameter is passed using forms (on clicking the submit button) and the other parameter is to be passed with out the use of forms.How do I do it ?
Thank You
Praveen

 
Old September 17th, 2003, 10:27 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Depends if your dealing with client or server code.
On the server side here are some options (off the top of my head):
1. Session variables
2. querystring
3. Response.write
4. Database

Your selection is going to depend on how you are calling the page and your environment.

On the client side here are some options (off the top of my head):
1. retrieve from the server side (in which case use one of the above option and store the information in a variable).
2. querystring (can be read through js)
3. cookies

Let me know if you need help with any one particular option or give me more information on your architecture and I can assist you further.

Yehuda





Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing parameters from ASP (VBScript) to XSLT rj_mayer Classic ASP XML 5 January 25th, 2005 04:20 PM
How I can pass parameters to 2 ASP files at ones? zukit Classic ASP Databases 4 December 15th, 2004 05:20 AM
Passing 10 parameters from ASP (VBSript) to COM pankaj_pp Classic ASP Basics 0 May 24th, 2004 05:13 AM
passing parameters spraveens Javascript How-To 1 October 8th, 2003 03:14 AM
Passing parameters between 2 asp files spraveens Classic ASP Databases 3 September 23rd, 2003 02:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.