Last post Jul 28, 2011 09:28 AM by ozkary
Jul 28, 2011 01:30 AM|karthicks|LINK
i want to read data from a website. it does not have any login page.
but it has some other pages with querystring to display data based on that query string values. but when i read this directly using webRequest.GetResponse() it getting only the home page content.
even when i access this page in internet explorer, it redirects to the home page
Jul 28, 2011 09:28 AM|ozkary|LINK
Do you think the site may be sending a cookie to check for something, and if does not finds it, it redirects to the home page?
If this is the case, you need to add cookie support to the webrequest. Read the following for details:
hope it helps.