How many ways we can pass the variable through the navigation between the pages?
How many ways we can pass the variable through the navigation between the pages?
View Answers
November 15, 2010 at 6:06 PM
Hi everyone,
At least 6 ways:
- Put the variable into session in the first page, and get it back from session in the next page.
- Put the variable into cookie in the first page, and get it back from the cookie in the next page.
- Put the variable into a hidden form field, and get it back from the form in the next page.
- Using post
- Using get
- Using request
Thanks