Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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!
Bump!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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!
Bump!
is working on a reply...