<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/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/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Known Issues and Workarounds</title><link>http://forums.iis.net/1067.aspx</link><description>Known issues and workarounds found with IIS7 in the Vista Beta 2 release.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: IIS7 Response.Cookies Collection is Empty</title><link>http://forums.iis.net/thread/1916225.aspx</link><pubDate>Tue, 08 Sep 2009 22:43:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1916225</guid><dc:creator>Glenn Slayden</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1916225.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1067&amp;PostID=1916225</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;CooperNYC:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Response.Headers does seem to work, but I can only see ONE of the cookies (not all three). The Response.AppendHeader method will not work as I need to READ the cookies using the HttpModule, not write additional cookies.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;This is exactly the problem I&amp;#39;m having, as I just posted about at &lt;a href="http://forums.iis.net/p/1102533/1815781.aspx#1815781"&gt;http://forums.iis.net/p/1102533/1815781.aspx#1815781&lt;/a&gt;&amp;nbsp;. What&amp;#39;s going on with this long-standing issue?&lt;/p&gt;
&lt;p&gt;Note that the hotfix KB932385 does *not* fix this issue, it only&amp;nbsp;ensures that&amp;nbsp;the additional cookies&amp;nbsp;are passed to the client browser, but the server-side Resonse object still&amp;nbsp;does not show them in the Headers property.&lt;/p&gt;
&lt;p&gt;Poking around with the debugger, I couldn&amp;#39;t find those cookies (which do end up at the browser) in any internal or public data structure on the server.&lt;/p&gt;</description></item><item><title>Re: IIS7 Response.Cookies Collection is Empty</title><link>http://forums.iis.net/thread/1875850.aspx</link><pubDate>Mon, 04 Aug 2008 19:46:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1875850</guid><dc:creator>CooperNYC</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1875850.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1067&amp;PostID=1875850</wfw:commentRss><description>&lt;p&gt;KJ: The test case I am using is a classic ASP page that sets 3 cookies in the HTTP response.&amp;nbsp; The managed HttpModule is not able to read them later in the pipeline (on the same response...the cookie collection is empty). I&amp;#39;m not sure if setting them from Classic ASP code counts as &amp;quot;Native&amp;quot;.&lt;/p&gt;&lt;p&gt;Response.Headers does seem to work, but I can only see ONE of the cookies (not all three). The Response.AppendHeader method will not work as I need to READ the cookies using the HttpModule, not write additional cookies.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: IIS7 Response.Cookies Collection is Empty</title><link>http://forums.iis.net/thread/1875751.aspx</link><pubDate>Sat, 02 Aug 2008 18:35:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1875751</guid><dc:creator>ksingla</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1875751.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1067&amp;PostID=1875751</wfw:commentRss><description>&lt;p&gt;Hi Cooper,&lt;br /&gt;&lt;br /&gt;1. Can you pls confirm that when you set the Set-Cookie header in native code, Set-Cookie header value as read by Response.Headers in managed code is updated?&lt;br /&gt;&lt;br /&gt;2. I am not sure how Response.Headers behave but can you also try Response.AppendHeader method and see if that gives you what you want.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Kj&lt;/p&gt;</description></item><item><title>Re: IIS7 Response.Cookies Collection is Empty</title><link>http://forums.iis.net/thread/1875690.aspx</link><pubDate>Fri, 01 Aug 2008 14:15:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1875690</guid><dc:creator>CooperNYC</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1875690.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1067&amp;PostID=1875690</wfw:commentRss><description>&lt;p&gt;Thanks KJ.&amp;nbsp; I have tried almost every event in the pipeline with no luck.&amp;nbsp; I also brought this issue up in the IIS7/ClassicASP forum, so you can see more details about the issue here:&lt;/p&gt;&lt;p&gt;http://forums.iis.net/t/1150788.aspx&lt;/p&gt;&lt;p&gt;At this point, it seems like there are two issues:&lt;/p&gt;&lt;p&gt;1 - The Response.Cookies collection available to managed code is not populated with cookies set by a native handler&lt;/p&gt;&lt;p&gt;2 - The Response.Headers collection available to managed code seems to overwrite collection items when there are duplicate response headers (instead of concatenating them with a semi-colon).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any help you can provide me would be greatly appreciated.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Cooper &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: IIS7 Response.Cookies Collection is Empty</title><link>http://forums.iis.net/thread/1875658.aspx</link><pubDate>Fri, 01 Aug 2008 05:37:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1875658</guid><dc:creator>ksingla</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1875658.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1067&amp;PostID=1875658</wfw:commentRss><description>&lt;p&gt;Hi CooperNYC,&lt;br /&gt;&lt;br /&gt;Can you pls check if Set-Cookie header is seen correctly in managed module in the later stages of the pipeline? It is possible that Set-Cookie header is not parsed to fill the cookies collection everytime transition from native to managed module happens. I can followup with Asp.Net team to find if this is unexpected behavior.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Kj&lt;/p&gt;</description></item><item><title>IIS7 Response.Cookies Collection is Empty</title><link>http://forums.iis.net/thread/1875380.aspx</link><pubDate>Wed, 30 Jul 2008 11:56:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1875380</guid><dc:creator>CooperNYC</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1875380.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1067&amp;PostID=1875380</wfw:commentRss><description>&lt;p&gt;On IIS7, the HttpContext.Current.Response.Cookies collection seems to only contain cookies that ASP.NET creates.&amp;nbsp; So on requests where a Classic ASP page sets 3 cookies, the collection when accessed via an HttpModule (later in the pipeline) is empty.&amp;nbsp; This seems like a bug, right?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>