This is a very strange scenario,
Suppose, I browse my site like "http://web.site.com" this way. my site display perfectly my Home page, on this page on the top, i am using one user control and this user control is displaying a logout Link button.
case 1: When i click this button in this scenario then its does not fired,
Case 2: But if i open my site like "http://web.site.com/default.aspx" then its work correctly and fired.
Can any one suggest me on this?
the below control is using in user control
<asp:linkbutton id="logoutLinkButton" runat="server"
onclick="logoutLinkButton_Click1">logout</asp:linkbutton>
and the Link button event code is
protected void logoutLinkButton_Click1(object sender, EventArgs e)
{
var url = this.Request.RawUrl;
Authentication.Logout();
Response.Redirect(url);
}