MvcSiteMapProvider
MvcSiteMapProvider copied to clipboard
issue with mvcsitemap when use tamperproof url tokens
Hi.
i have added dynamic tokens into url's. tokens generated dynamically for every page based on controller, action and ids.
i have added this token into preservedRouteParameters but after adding tokens into url my breadcrumbs does not navigate to correct page. because it always uses current page token to navigate but previous page has different token.
below is the scenario which i have.
my previous page url is:- http://local.abc.com/admin/abc/files/160795/nnqve6e6rdengufoudgpr16msh4 current page url is:- http://local.abc.com/admin/abc/addfiles/160795/rjfwo7kqgexelnikv39pe4bk3wg
but my breadcrumb shows the below url to navigate previous page:- http://local.abc.com/admin/abc/files/160795/rjfwo7kqgexelnikv39pe4bk3wg
correct navigation url should be:- http://local.abc.com/admin/abc/files/160795/nnqve6e6rdengufoudgpr16msh4
please help me on how to resolve this issue.
what should i do to resolve this issue with dynamic token to url.
Thanks