receiving posted data in a page from SHDocVw.InternetExplorer
-
hi, i am opening a web application from a windows applicatino using SHDocVw.InternetExplorer. eg. object vPost, vHeader, vFlags, vTargetFrame, vUrl; string vPostData; vPostData = "SecKey=123&Uname=xyz"; SHDocVw.InternetExplorer ie; //Class ie = new SHDocVw.InternetExplorerClass(); vFlags = null; vTargetFrame = null; vUrl = "http://localhost/app/StartUpPage.aspx"; vHeader = "Content-Type: application/x-www-form-urlencoded" + Convert.ToChar(10) + Convert.ToChar(13); //Convert the string to post to an array of bytes. vPost = ASCIIEncoding.ASCII.GetBytes(vPostData); ie.Navigate2(ref vUrl, ref vFlags, ref vTargetFrame, ref vPost, ref vHeader); In the above code vpost is an bytes array which i am posting to the web application. my question is how to receive the posted data in a web application
Sandeep Kumbhar