Correct me if I am doing wrong.
I have a Login page which uses a Webservice to process login. In my Login page I use Jquery with JSon to consume the webservice.
After the login is processed I recieve an object and I want to redirect the recieved object to home page.
Let me know how.
Thanks
Samuel
POSTredirect the received JSON to server, and deserialize the JSON to your typed object. You can consider keeping the object in your SESSION and access it when required.UPDATE
put a hidden field in your aspx/ascx page
Once you receive your JSON Data from your service. Just put your response to the hidden field. (USE JQUERY)
On your
Page_Loadmethod on yourhome.aspxUse
JavaScriptSerializerto deserialize your JSON dataNow you can consider putting your
loginDataObjecttoSESSIONand access through out your application scope