<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1031733" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1031733</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/sessionstatemodule#comment-1186037</link>
    <description> &lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt; I&#039;m gonna cry.&lt;/p&gt;
&lt;p&gt;Thankx....&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Nov 2005 23:25:04 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1186037 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/sessionstatemodule#comment-1186035</link>
    <description> &lt;p&gt;Looks like you&#039;ll have to use global.asax:&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: &lt;em&gt;Q: Can I subscribe to SessionStateModule.End event using a non-global.asax handler method?&lt;br /&gt;
   A: The answer is NO.  When SessionStateModule raises the End event, only the method&lt;br /&gt;
   defined in global.asax will be called. &lt;/em&gt;&lt;/p&gt;
&lt;p&gt; It&#039;s limited this way for a technical safety reason. Suppose asp.net allows a user to use any arbitrary handler to the handle the End event. In the case, users will usually use a page method as a handler. When you pass in that handler during event subscription, that handler (unless it&#039;s static) is associated with the HttpApplication instance your request is running on. Please note that HttpApplication instances are recycled to serve other requests. So later on, when the End event gets fired, asp.net will call the handler, and the HttpApplication instance it is associated with is now being used by another request. Such a situation will cause all sorts of problem. So to avoid this danger, in v1 a decision was made to call only the method defined in global.asax. Hope you all can bear with this limitation.&lt;/p&gt;
&lt;p&gt;   from &lt;a href=&quot;http://forums.asp.net/7504/ShowPost.aspx&quot; class=&quot;bb-url&quot;&gt;Understanding session state modes + FAQ&lt;/a&gt; at forums.asp.net&lt;/p&gt;&lt;/blockquote&gt;
 </description>
     <pubDate>Sat, 19 Nov 2005 22:55:08 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1186035 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/sessionstatemodule#comment-1186023</link>
    <description> &lt;p&gt;C#/ASP.NET its just inline on a page.&lt;/p&gt;
&lt;p&gt;I woul do it in the global.asax But for this case it wont work like that.&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Nov 2005 21:33:02 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1186023 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/sessionstatemodule#comment-1185999</link>
    <description> &lt;p&gt;What language is this? What is the context of that line of code?&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Nov 2005 13:34:42 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1185999 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
