How many ways we can pass the variable through the navigation between the pages?

Ads

 
 

Share on Google+Share on Google+

brijesh
How many ways we can pass the variable through the navigation between the pages?
1 Answer(s)      7 years ago
Posted in : PHP

How many ways we can pass the variable through the navigation between the pages?

Ads
View Answers

November 15, 2010 at 6:06 PM


Hi everyone,

At least 6 ways:

  1. Put the variable into session in the first page, and get it back from session in the next page.
  2. Put the variable into cookie in the first page, and get it back from the cookie in the next page.
  3. Put the variable into a hidden form field, and get it back from the form in the next page.
  4. Using post
  5. Using get
  6. Using request

Thanks


Ads









Related Tutorials/Questions & Answers:
Advertisements

Ads

 
Advertisement null

Ads