The module itself is correctly encrypting the querystring but the return value is not correct, it returns the exact same string that was encrypted and not the dynamic values.
My QueryString values need to be dynamically added so my encrypted QueryString looks like this
The return value is never the value but the actual string itself. So instead of retrieving a date value such as 01/07/2014, all I see is @date when I request the QueryString.
Can anyone offer any insight as to why this is happening and how I might be able to resolve it?
Razor values lost with QueryString Encryption
Hi All,
I hope you can help me.
I have been using this HttpModule > http://madskristensen.net/post/httpmodule-for-query-string-encryption to encrypt the querystring values that I need passed from page to page.
The module itself is correctly encrypting the querystring but the return value is not correct, it returns the exact same string that was encrypted and not the dynamic values.
My QueryString values need to be dynamically added so my encrypted QueryString looks like this
The return value is never the value but the actual string itself. So instead of retrieving a date value such as 01/07/2014, all I see is @date when I request the QueryString.
Can anyone offer any insight as to why this is happening and how I might be able to resolve it?
Thanks
Scrap that. I was overcomplicating the issue.
The encryption module automatically encrypts the querystring and does not require the code listed above.
Using regular querystrings works.
:)
is working on a reply...