I am newish to Umbraco and am not sure how I should approach persisting querystring values as anon users browse around. If I enter a querystring on the main page and then move to a subpage and back its lost.
I intend to create links to another webapplication on different pages and the querystring will be passed to the new application.
If you want to persist your querystring you need to pass it to each new url. I don't think that's a good idea. If you need data which is used everywhere on the website it's better to use sessions.
Persisting Query Strings
Hi all,
I am newish to Umbraco and am not sure how I should approach persisting querystring values as anon users browse around. If I enter a querystring on the main page and then move to a subpage and back its lost.
I intend to create links to another webapplication on different pages and the querystring will be passed to the new application.
For example if my umbraco site is http://application1?id=1234, on different pages I will pass the id=1234 to another application by placing a button/link to http://application2?id=1234. ;
Thanks in advance.
Steve.
If you want to persist your querystring you need to pass it to each new url. I don't think that's a good idea. If you need data which is used everywhere on the website it's better to use sessions.
Jeroen
Thanks Jeroen, just the steer I need, will look at working with sessions instead.
is working on a reply...