<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://aspadvice.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>HttpWebRequest with JavaScript domain.cookie</title><link>http://aspadvice.com/blogs/davidwalker/archive/2005/04/26/18273.aspx</link><description>I'm trying to use HttpWebRequest to scrape a website. Unfortunately, this particular site is using BLOCKED SCRIPT document.cookie, to create a cookie. I've been unsuccessful using the CookieContainer to attempt to retrieve the cookie, so I'm now actually</description><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>re: HttpWebRequest with JavaScript domain.cookie</title><link>http://aspadvice.com/blogs/davidwalker/archive/2005/04/26/18273.aspx#43941</link><pubDate>Wed, 09 Jul 2008 12:13:45 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:43941</guid><dc:creator>Aryan Rajput</dc:creator><description>//please solved my problem this code work nicely at local by create problem at server
//please tell me solution or alternate

var PreventExitPop = false;
function ExitPop() {
	if(PreventExitPop == false)	{
		PreventExitPop=true;
		document.getElementById("table").style.display='none';
		document.getElementById("table").style.display='block';
		scroll(0, 0);
		return openit('http://demo8.axxiem.com/guildpartners/exit-popup.html');
	}
}
function openit(sURL)
	{
		newwindow=open(sURL,"newwin","width=410, height=270");
	}
// --&gt;
&lt;/script&gt;

&lt;SCRIPT LANGUAGE = "JavaScript"&gt;
&lt;!--
window.onbeforeunload = ExitPop;
// --&gt;
&lt;/SCRIPT&gt;</description></item><item><title>re: HttpWebRequest with JavaScript domain.cookie</title><link>http://aspadvice.com/blogs/davidwalker/archive/2005/04/26/18273.aspx#44608</link><pubDate>Sun, 27 Jul 2008 15:08:19 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:44608</guid><dc:creator>Satya</dc:creator><description>hi, so did you ever manage to execute the javascript in .net. Im facing the same issue with a site that I am scraping, which set cookies via javascript and im looking for a way to execute the function that sets the cookies and intercept that cookie and save it in my cookiecontainer.

If you did find a soluiton, id be grateful if you would share it

Cheers

satyajeeth (at) yahoo.com</description></item></channel></rss>