using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Net.Mail; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using WorkoPlus.BOL; public partial class EmployerChangePassword : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (string.IsNullOrEmpty (Request["Action"]) == false) { if( Request["Action"].ToUpper() == "SIGNOUT") { FormsAuthentication.SignOut(); Session.Abandon(); Response.Redirect("../Index.aspx"); } } } protected void ContinueLinkButton_Click(object sender, EventArgs e) { Response.Redirect("index.aspx"); } protected void ChangePassword1_SendingMail(object sender, MailMessageEventArgs e) { MailAddress fromAddress = new MailAddress(ConfigurationManager.AppSettings["webmasteremail"], ConfigurationManager.AppSettings["MailFromTitle"]); e.Message.From = fromAddress; } }