Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Steve 15 posts 36 karma points
    Dec 08, 2012 @ 00:10
    Steve
    0

    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.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Dec 08, 2012 @ 13:51
    Jeroen Breuer
    0

    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

  • Steve 15 posts 36 karma points
    Dec 08, 2012 @ 13:54
    Steve
    0

    Thanks Jeroen, just the steer I need, will look at working with sessions instead.

Please Sign in or register to post replies

Write your reply to:

Draft