ViewState from client side
-
Hello, Yesterday I was getting mad with a conversion from Dynamic pages to static HTML one, Today I've succeded in my tries, retrieving all pages that are referred by a DropDownList recreating the POST request to a website. In order to do that I used the viewstate sent by browser and inserted it hardcoded in my class. I've seen that some view state decoders accept an input an URL and they decode the viewstate, my question is : How can I get viewstate starting from HttpWebRequest and HttpWebResponse??? :confused: Thanks a lot Bests Regards Paolo Ponzano
-
Hello, Yesterday I was getting mad with a conversion from Dynamic pages to static HTML one, Today I've succeded in my tries, retrieving all pages that are referred by a DropDownList recreating the POST request to a website. In order to do that I used the viewstate sent by browser and inserted it hardcoded in my class. I've seen that some view state decoders accept an input an URL and they decode the viewstate, my question is : How can I get viewstate starting from HttpWebRequest and HttpWebResponse??? :confused: Thanks a lot Bests Regards Paolo Ponzano
To access viewstate from the client simply store the value you are seeking in some html element via your server code. Then use javascript to access that element.