According to the MSDN documentation, ScriptManager.GetStateString()
"Retrieves a string that contains key/value pairs that represent the state of the Web page."
When I call the method it returns what appears to be a hashed string - how do I parse this into something useful? What exactly is returned by the GetStateString
method?
EDIT:
I notice that if I submit the form on the page or append data to the querystring, the value returned by GetStateString
does not change. "Page state" apparently doesn't include this sort of state data?
UPDATE: When I set ScriptManager.EnableSecureHistoryState = false
the hashed value is replaced with an empty string. Apparently if EnableSecureHistoryState = true, the value returned by GetStateString is encrypted and hashed.