How to pass value from an ASP page to another ASP page? 
Author Message
 How to pass value from an ASP page to another ASP page?

Hi,

In my ASP page(Time.asp), I have a field('taskdt') and a button('Add
Expenses') in a form. User enters the date into 'taskdt' field. User clicks
on the 'Add Expenses' button and go to another ASP page(Expenses.asp).

What I want to do is: pass the value that user entered in 'taskdt' field in
Time.asp to Expenses.asp page, and display this value. How do I do this?

Thanks.

Jun



Fri, 16 Jan 2004 14:39:40 GMT  
 How to pass value from an ASP page to another ASP page?
Best I could say is have the first post the variable with a query string,
and have the second retrieve it with the variable =
Request.ServerVariables("QUERY_STRING")

--Rob


Quote:
> Hi,

> In my ASP page(Time.asp), I have a field('taskdt') and a button('Add
> Expenses') in a form. User enters the date into 'taskdt' field. User
clicks
> on the 'Add Expenses' button and go to another ASP page(Expenses.asp).

> What I want to do is: pass the value that user entered in 'taskdt' field
in
> Time.asp to Expenses.asp page, and display this value. How do I do this?

> Thanks.

> Jun



Fri, 16 Jan 2004 15:10:08 GMT  
 How to pass value from an ASP page to another ASP page?
Use a form with method='post' and action='expenses.asp'.  Submit the form
when the Add Expenses button is pressed.  Get the value with
Reqest.Form('taskdt')


Quote:
> Hi,

> In my ASP page(Time.asp), I have a field('taskdt') and a button('Add
> Expenses') in a form. User enters the date into 'taskdt' field. User
clicks
> on the 'Add Expenses' button and go to another ASP page(Expenses.asp).

> What I want to do is: pass the value that user entered in 'taskdt' field
in
> Time.asp to Expenses.asp page, and display this value. How do I do this?

> Thanks.

> Jun



Mon, 19 Jan 2004 01:09:20 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How to pass value from an ASP page to another ASP page?

2. Passing Values to asp page

3. Passing values between an ASP page and an HTA - VBS script

4. passing data from asp page to ASP.NET

5. calling asp page from another asp page

6. ASP : Passing values from One ASP to the Next

7. Passing vairable values from page to page with VBScript

8. passing a form field value from a page to a frame's page

9. take passed-in info from an ASP page and sort with it

10. Passing information between ASP pages problem.

11. passing a string to an asp page

12. How to pass an n-dim array from VBScript to JScript within an ASP page

 

 
Powered by phpBB® Forum Software