<?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>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" 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: Logout Problem in Login Status Control</title><link>http://forums.asp.net/thread/2507545.aspx</link><pubDate>Wed, 23 Jul 2008 05:35:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2507545</guid><dc:creator>bijaya.pathia</dc:creator><author>bijaya.pathia</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2507545.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=2507545</wfw:commentRss><description>&lt;p&gt;Thanks for your reply. I have followed the steps you have suggested. But same problem occurs. &lt;/p&gt;</description></item><item><title>Re: Logout Problem in Login Status Control</title><link>http://forums.asp.net/thread/2506091.aspx</link><pubDate>Tue, 22 Jul 2008 14:23:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2506091</guid><dc:creator>jpcoliveros</dc:creator><author>jpcoliveros</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2506091.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=2506091</wfw:commentRss><description>&lt;p&gt;Suppose you have the following LoginStatus: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;asp&lt;/font&gt;&lt;font color="#0000ff"&gt;:&lt;/font&gt;&lt;font color="#800000"&gt;LoginStatus&lt;/font&gt; &lt;font color="#ff0000"&gt;ID&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;LoginStatus1&amp;quot;&lt;/font&gt; &lt;font color="#ff0000"&gt;runat&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt; &lt;font color="#ff0000"&gt;LogoutAction&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;RedirectToLoginPage&amp;quot;&lt;/font&gt; &lt;font color="#ff0000"&gt;OnLoggedOut&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;LoginStatus1_LoggedOut&amp;quot;&lt;/font&gt; &lt;font color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/b&gt;
&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Define this&amp;nbsp; in your code behind. This will clear all session values initiated. &lt;/p&gt;&lt;p&gt;&lt;font color="#0000ff"&gt;&lt;font color="#000000"&gt;&lt;strong&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;font color="#0000ff"&gt;protected&lt;/font&gt; &lt;font color="#0000ff"&gt;void&lt;/font&gt; LoginStatus1_LoggedOut(&lt;font color="#0000ff"&gt;object&lt;/font&gt; sender, &lt;font color="#008080"&gt;EventArgs&lt;/font&gt;&lt;/strong&gt;&lt;strong&gt; e)&lt;br /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Session.Abandon();&lt;br /&gt;}&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Logout Problem in Login Status Control</title><link>http://forums.asp.net/thread/2505994.aspx</link><pubDate>Tue, 22 Jul 2008 13:52:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2505994</guid><dc:creator>bijaya.pathia</dc:creator><author>bijaya.pathia</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2505994.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=2505994</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am using a login status control in my web application master page. If I logout from any other content page then it is redirected to my login page. But the problem is that the back button of the browser becomes enable and when i click on it , it again shows the previous content page which i donot want. Is there any way to redirect the control to the login page even if one hits the back button of the browser .&lt;/p&gt;
&lt;p&gt;if any body knows please suggest me&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Bijaya&lt;/p&gt;</description></item></channel></rss>