IMARUSIC, here you go.
public partial class RLLMembershipNavigation : MonoSoftware.MonoX.MasterPages.MembershipNavigation
{
protected override void Render(HtmlTextWriter writer)
{
base.Render(writer);
}
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
}
protected void Page_Load(object sender, EventArgs e)
{
this.loginStatus2.LoggingOut += loginStatus2_LoggingOut;
loginName.Visible = false; //Custom imp. of login name below
lnkMessages.Visible = false; //Do not show messages button.
rllLoginName.Visible = true;
}
void loginStatus2_LoggingOut(object sender, MonoSoftware.Core.CancelEventArgs<string> e)
{
//Null session at this point to ensure other project
// specific web parts do not mistakenly access it.
if (Session["activeRlluser"] != null)
Session["activeRlluser"] = null;
}
public RLLMembershipNavigation()
{
}
}
This content has not been rated yet.
207
Reputation
23
Total posts