Copied to clipboard

Flag this post as spam?

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


  • Marino Simic 16 posts 53 karma points
    Mar 15, 2010 @ 21:27
    Marino Simic
    0

    Issues with XSLT with umbraco.library.setSession and Session with URLrewrite

    Umbraco Version: 4.1 b2

    Latest ASP.Net, on IIS7

    No stack trace because the issue is wierd:

    If the XSL is run after the URL has been rewritten setSession and Session no longer work as expected (they seem to work bu return empty strings).

    You can test this by going here and looking the source:

    http://boletus.webaddiction.org/rock.aspx?volume=50&balance=50&play=2

    Now if you go here you will se that the values are retained:

    http://boletus.webaddiction.org/rock.aspx

    If we try to do the same thing through a rewritten URL:

    http://boletus.webaddiction.org/audiolist.xml?volume=50&balance=50&play=2

    We get empty values (the xml rewrites to the rock.aspx):

    http://boletus.webaddiction.org/audiolist.xml

     

    This is the rewrite:

    <add name="audioxml" virtualUrl="^~/audiolist.xml" destinationUrl="~/rock.aspx" rewriteUrlParameter="IncludeQueryStringForRewrite" ignoreCase="true" />

    I tried first with with:

    <add name="audioxml" virtualUrl="^~/audiolist.xml" destinationUrl="~/rock.aspx" rewriteUrlParameter="ExcludeFromClientQueryString" ignoreCase="true" />

    and:

    <add name="audioxml" virtualUrl="^~/audiolist.xml(.*)" destinationUrl="~/rock.aspx$1" rewriteUrlParameter="ExcludeFromClientQueryString" ignoreCase="true" />

     

    Neither did work...

    Can somebody help?

     

    Thanks!

  • Marino Simic 16 posts 53 karma points
    Mar 17, 2010 @ 13:59
    Marino Simic
    0

    Bump!

Please Sign in or register to post replies

Write your reply to:

Draft