<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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/"><channel><title>Client Side Web Development</title><link>http://forums.asp.net/130.aspx</link><description>Client-side programming discussions, including CSS, DHTML, JScript/Javascript, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=18&amp;c=16" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Closing browser</title><link>http://forums.asp.net/thread/3263218.aspx</link><pubDate>Mon, 29 Jun 2009 04:57:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3263218</guid><dc:creator>Nai-Dong Jin - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3263218.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3263218</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you can&amp;#39;t use Ajax in your scenario, you may perform an xmlhttprequest to an httphandler you defind on your app. (under the same domain), you can pass the userid as parameter to that handler, and the handler recieve the parameter and update the online status in the datatable accroding to the user id.&lt;/p&gt;
&lt;p&gt;You may send the request in OnbeforeUnload or window close event. But if you use the practice, I suggest that you need to use Iframe&amp;nbsp;architecture.(Main Frame contain the child frame). And you should perform the requesting in main page&amp;#39;s OnbeforeUnload event, otherwise, it will request the handler when we redirect to other pages of the site which we do not expect.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Closing browser</title><link>http://forums.asp.net/thread/3253556.aspx</link><pubDate>Tue, 23 Jun 2009 17:29:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3253556</guid><dc:creator>asdf fdsa</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3253556.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3253556</wfw:commentRss><description>&lt;p&gt;Hi, thanks, but I can&amp;#39;t use ajax. Do you have any other solutions?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you!!!!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Closing browser</title><link>http://forums.asp.net/thread/3252181.aspx</link><pubDate>Tue, 23 Jun 2009 06:25:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3252181</guid><dc:creator>s_selvan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3252181.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3252181</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Use AJAX to trigger the window close event. Above mentioned URL is helpful to you.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Closing browser</title><link>http://forums.asp.net/thread/3252160.aspx</link><pubDate>Tue, 23 Jun 2009 06:16:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3252160</guid><dc:creator>sumitd</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3252160.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3252160</wfw:commentRss><description>&lt;p&gt;Refer below article:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://aspalliance.com/1294_CodeSnip_Handle_Browser_Close_Event_on_the_ServerSide.all"&gt;http://aspalliance.com/1294_CodeSnip_Handle_Browser_Close_Event_on_the_ServerSide.all&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Closing browser</title><link>http://forums.asp.net/thread/3251879.aspx</link><pubDate>Tue, 23 Jun 2009 03:20:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3251879</guid><dc:creator>asdf fdsa</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3251879.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3251879</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, I am making a website, and in my database I have to say if a user is online or offline, so when they log in, I have to tell the database that they are online and when they log out, I have to say that they are offline, but what if the person closes the browser or&amp;nbsp; the tab, I have a session, when they close the browser, does it fire the end session event in the global, or what can I do, please help.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Thank you!!!! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>