Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 583 posts 1407 karma points
    Feb 21, 2013 @ 23:41
    Sebastian Dammark
    0

    Is umbraco.library:RequestQueryString cached ?

    I have an odd issue here ...

    If I do like this

    <xsl:value-of select="umbraco.library:RequestQueryString('p')" />

    I expect to get the value of p from the querystring, if it's present.

    But for some odd reason that doesn't happen.  If I enter the page like this http://domain.com/?p=1 I get the number 1 in my XSLT, but if I then change the value to 2 I still get 1.  Unless I wait a few minutes and then refreshes the page, then it changes to 2, the new value.

    Anyone tried something alike ?

    Could it be something in the server setup ?

  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Feb 21, 2013 @ 23:53
    Chriztian Steinmeier
    100

    Hi Sebastian,

    I've never seen that issue - you're sure the Macro hasn't got caching enabled in some way?

    (Sorry, but it's the obvious 1st question-answer :-)

    /Chriztian

  • Sebastian Dammark 583 posts 1407 karma points
    Feb 22, 2013 @ 08:27
    Sebastian Dammark
    0

    But the 1st question is usually the best :)

Please Sign in or register to post replies

Write your reply to:

Draft