top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the various methods to pass data from one web page to another web page?

+4 votes
463 views
What are the various methods to pass data from one web page to another web page?
posted Feb 13, 2015 by Devyani

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes
 
Best answer

Different methods to pass data from one web page to another:

  1. Store the data in a session variable. By storing the data, the data can be passed from one page to another.

  2. Store data in a cookie: By storing data in a persistent cookie, data can be passed from one form to another.

  3. Set the data in a hidden field and post the data using a submit button.

Short note on passing parameter by reference and returning parameter by reference with examples.

Passing parameter by reference: In PHP, variables can be passed by reference so as to modify them. Variables, statements which have new and references returned from function can be passed.

answer Feb 14, 2015 by Vrije Mani Upadhyay
Similar Questions
+2 votes

I have two sessions I a workflow like below

workflow1->session1->session2

I have a join_date column in a table in Mapping1 , in session1. I want to pick this join_date value and pass to mpping2/session2

If join date value changes in the table in session1 then the same value should pick and pass to session2. I will use this date value in a query in session2 .

Please suggest how to achieve this?

...