If you want to show the alert before redirection you shall do it in javascript
emp.logout();
string redirectScript = " window.location.href = 'otherPage.aspx';";
System.Web.UI.ScriptManager.RegisterStartupScript(this, GetType(), "displayalertmessage", "alert('alert to be displayed');" + redirectScript, true);