<?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"
	>
<channel>
	<title>Comments on: Setting Global Objects in Global.asax</title>
	<atom:link href="http://www.sitepoint.com/blogs/2004/02/27/setting-global-objects-in-globalasax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2004/02/27/setting-global-objects-in-globalasax/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<pubDate>Fri, 05 Dec 2008 02:16:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: johnnycomelately</title>
		<link>http://www.sitepoint.com/blogs/2004/02/27/setting-global-objects-in-globalasax/#comment-7473</link>
		<dc:creator>johnnycomelately</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">199587942#comment-7473</guid>
		<description>&lt;p&gt;If you are using VB.NET i believe you can use the Module , which is a kind of 'sealed' class (non-inheritable), and can be used to store global variables. Also, since it is a 'shared' class, it need not be instantiated.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>If you are using VB.NET i believe you can use the Module , which is a kind of &#8217;sealed&#8217; class (non-inheritable), and can be used to store global variables. Also, since it is a &#8217;shared&#8217; class, it need not be instantiated.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: miseldine</title>
		<link>http://www.sitepoint.com/blogs/2004/02/27/setting-global-objects-in-globalasax/#comment-7474</link>
		<dc:creator>miseldine</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">199587942#comment-7474</guid>
		<description>&lt;p&gt;Yes. The VB.NET compiler essentially converts the "module" keyword into what in c# is known as an "internal sealed class" and therefore makes all public variable static.  In addition, referneces to a public module variable gets "module" added to it as well. &lt;/p&gt;

&lt;p&gt;The upshot being, since static variables are the same across all threads any time a variable is updated in one thread, all threads update :)&lt;/p&gt;

&lt;p&gt;Nice comment :D&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Yes. The VB.NET compiler essentially converts the &#8220;module&#8221; keyword into what in c# is known as an &#8220;internal sealed class&#8221; and therefore makes all public variable static.  In addition, referneces to a public module variable gets &#8220;module&#8221; added to it as well. </p>
<p>The upshot being, since static variables are the same across all threads any time a variable is updated in one thread, all threads update :)</p>
<p>Nice comment :D</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2004/02/27/setting-global-objects-in-globalasax/#comment-7475</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">199587942#comment-7475</guid>
		<description>&lt;p&gt;"so it might be an idea to encrypt some sensitive strings beforehand"&lt;/p&gt;

&lt;p&gt;You say, do you have any good link to tutorials for this? Encrypting in .NET that is.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>&#8220;so it might be an idea to encrypt some sensitive strings beforehand&#8221;</p>
<p>You say, do you have any good link to tutorials for this? Encrypting in .NET that is.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sunil</title>
		<link>http://www.sitepoint.com/blogs/2004/02/27/setting-global-objects-in-globalasax/#comment-7476</link>
		<dc:creator>Sunil</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">199587942#comment-7476</guid>
		<description>&lt;p&gt;Need a help&lt;br /&gt;
How can I use &lt;object id="myVariables" ..&lt;br /&gt;
variable in the any .aspx page&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Need a help<br />
How can I use <object id="myVariables" ..<br />
variable in the any .aspx page</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep Gamare</title>
		<link>http://www.sitepoint.com/blogs/2004/02/27/setting-global-objects-in-globalasax/#comment-7477</link>
		<dc:creator>Sandeep Gamare</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">199587942#comment-7477</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have included the &lt;object...&gt; tag in global.asax, but my code refuses to compile in Visual Studio. It points to the good old "are you missing a using directive or an assembly reference".&lt;/p&gt;

&lt;p&gt;Thanks&lt;br /&gt;
Sandeep Gamare&lt;br /&gt;
sandeep.gamare@gmail.com&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have included the <object ...> tag in global.asax, but my code refuses to compile in Visual Studio. It points to the good old &#8220;are you missing a using directive or an assembly reference&#8221;.</object></p>
<p>Thanks<br />
Sandeep Gamare<br />
<a href="mailto:sandeep.gamare@gmail.com">sandeep.gamare@gmail.com</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Vathana</title>
		<link>http://www.sitepoint.com/blogs/2004/02/27/setting-global-objects-in-globalasax/#comment-7478</link>
		<dc:creator>Vathana</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">199587942#comment-7478</guid>
		<description>&lt;p&gt;When I write &lt;object &gt; tag in global.asax file, It gives an error "object" is not an key identifier.Could you please help me on this.I write coding in vb.net&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>When I write <object> tag in global.asax file, It gives an error &#8220;object&#8221; is not an key identifier.Could you please help me on this.I write coding in vb.net</object></p>]]></content:encoded>
	</item>
</channel>
</rss>
