<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nerdboy.co.uk &#187; ashx</title>
	<atom:link href="http://www.nerdboy.co.uk/tag/ashx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nerdboy.co.uk</link>
	<description>nerdboy blog - web development stuff</description>
	<lastBuildDate>Thu, 03 Jun 2010 10:17:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Need to access session variables in an ashx?</title>
		<link>http://www.nerdboy.co.uk/2009/01/need-to-access-session-variables-in-an-ashx/</link>
		<comments>http://www.nerdboy.co.uk/2009/01/need-to-access-session-variables-in-an-ashx/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 16:58:50 +0000</pubDate>
		<dc:creator>nerdboy</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[ashx]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://www.nerdboy.co.uk/?p=48</guid>
		<description><![CDATA[Just a quick note if you need to access session variables from an ashx, you need to implement SessionState.IRequiresSessionState or IReadOnlySessionState if you only need to read the vars In your ashx change Public Class yourclass :     Implements IHttpHandler     Implements SessionState.IRequiresSessionStat to Public Class yourclass Implements IHttpHandler     Implements SessionState.IRequiresSessionStat]]></description>
			<content:encoded><![CDATA[<p>Just a quick note if you need to access session variables from an ashx, you need to implement SessionState.IRequiresSessionState or IReadOnlySessionState if you only need to read the vars</p>
<p>In your ashx change</p>
<pre class="brush: vb;">Public Class yourclass :     Implements IHttpHandler

    Implements SessionState.IRequiresSessionStat</pre>
<p>to</p>
<pre class="brush: vb;">Public Class yourclass

Implements IHttpHandler

    Implements SessionState.IRequiresSessionStat</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdboy.co.uk/2009/01/need-to-access-session-variables-in-an-ashx/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
