How to pass data between pages without sessions in ASP.net MVC

Posted by Ashwani K on Stack Overflow See other posts from Stack Overflow or by Ashwani K
Published on 2010-06-11T18:15:55Z Indexed on 2010/06/11 18:42 UTC
Read the original article Hit count: 606

Filed under:
|

Hello All:

I have one application in which I want to pass data between Pages (Views) without sessions. Actually I want to apply some settings to all the pages using query string. For example if my link is like "http://example.com?data=test1", then I want to append this query string to all the link there after and if there is no query string then normal flow.

I was thinking if there is any way that if we get the query string in any link for the web application then some application level user specific property can be set which can be used for subsequent pages.

Thanks, Ashwani

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc-2