<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Making session variables a little easier to work with</title>
	<atom:link href="http://randomcode.net.nz/2008/05/29/making-session-variables-a-little-easier-to-work-with/feed/" rel="self" type="application/rss+xml" />
	<link>http://randomcode.net.nz/2008/05/29/making-session-variables-a-little-easier-to-work-with/</link>
	<description>Random code and concepts from yet another .NET developer</description>
	<lastBuildDate>Mon, 20 Sep 2010 02:21:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: tnelson217</title>
		<link>http://randomcode.net.nz/2008/05/29/making-session-variables-a-little-easier-to-work-with/#comment-77</link>
		<dc:creator><![CDATA[tnelson217]]></dc:creator>
		<pubDate>Tue, 02 Sep 2008 23:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://nealblomfield.wordpress.com/?p=27#comment-77</guid>
		<description><![CDATA[OK, so sorry to bother y&#039;all.  Complete user error, forgot to instantiate my class.]]></description>
		<content:encoded><![CDATA[<p>OK, so sorry to bother y&#8217;all.  Complete user error, forgot to instantiate my class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tnelson217</title>
		<link>http://randomcode.net.nz/2008/05/29/making-session-variables-a-little-easier-to-work-with/#comment-76</link>
		<dc:creator><![CDATA[tnelson217]]></dc:creator>
		<pubDate>Tue, 02 Sep 2008 23:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://nealblomfield.wordpress.com/?p=27#comment-76</guid>
		<description><![CDATA[I really like this approach, but have one question.

I&#039;m attempting to put the definition of my session variables inside of a class called &quot;MySession&quot;, so that I can access them like this:

MySession.UserID

But I can&#039;t get it to work.  Any suggestions?  Am I trying to do something inappropriate?

For example:

public class MySession {

public SessionVariable SuccessMessage
{
    get
    {
        return new SessionVariable(&quot;SuccessMessage&quot;);
    }
    set
    {
        value.Store(&quot;SuccessMessage&quot;);
    }
}
}

And then reference as MySession.SuccessMessage.

It seems that if I do that, the Intellisense should pick up SuccessMessage and it does not.]]></description>
		<content:encoded><![CDATA[<p>I really like this approach, but have one question.</p>
<p>I&#8217;m attempting to put the definition of my session variables inside of a class called &#8220;MySession&#8221;, so that I can access them like this:</p>
<p>MySession.UserID</p>
<p>But I can&#8217;t get it to work.  Any suggestions?  Am I trying to do something inappropriate?</p>
<p>For example:</p>
<p>public class MySession {</p>
<p>public SessionVariable SuccessMessage<br />
{<br />
    get<br />
    {<br />
        return new SessionVariable(&#8220;SuccessMessage&#8221;);<br />
    }<br />
    set<br />
    {<br />
        value.Store(&#8220;SuccessMessage&#8221;);<br />
    }<br />
}<br />
}</p>
<p>And then reference as MySession.SuccessMessage.</p>
<p>It seems that if I do that, the Intellisense should pick up SuccessMessage and it does not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neal</title>
		<link>http://randomcode.net.nz/2008/05/29/making-session-variables-a-little-easier-to-work-with/#comment-67</link>
		<dc:creator><![CDATA[Neal]]></dc:creator>
		<pubDate>Thu, 29 May 2008 19:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://nealblomfield.wordpress.com/?p=27#comment-67</guid>
		<description><![CDATA[Yeh, thanks for catching that one Ori :)]]></description>
		<content:encoded><![CDATA[<p>Yeh, thanks for catching that one Ori <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ori Peleg</title>
		<link>http://randomcode.net.nz/2008/05/29/making-session-variables-a-little-easier-to-work-with/#comment-63</link>
		<dc:creator><![CDATA[Ori Peleg]]></dc:creator>
		<pubDate>Thu, 29 May 2008 11:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://nealblomfield.wordpress.com/?p=27#comment-63</guid>
		<description><![CDATA[This is pretty cool!!!

When showing how to &quot;directly access the underying value&quot;, don&#039;t you mean the following?
SuccessMessage.Value.Split(...);]]></description>
		<content:encoded><![CDATA[<p>This is pretty cool!!!</p>
<p>When showing how to &#8220;directly access the underying value&#8221;, don&#8217;t you mean the following?<br />
SuccessMessage.Value.Split(&#8230;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

