You can use the query string to pass the values form one page to another page. You can use query string in any page like .html, .aspx, .cshtml (MVC).
You will use the session variable to maintain the value thought the pages.
For example, you want to pass the data table object form one page to another page, in that case you can’t use the query string. So one solution may be you can use the session for this.
If this response is usefull,
Please click on "Mark This Response As Answer"
Amatya, if this helps please login to Mark As Answer. | Alert Moderator