예제 #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (!String.IsNullOrEmpty(Request.QueryString["lg"]))
            {
                if (Request.QueryString["lg"] == "L@G)UT")
                {
                    if (Request.Cookies["UserDetails"] != null)
                    {
                        HttpCookie myCookie = new HttpCookie("UserDetails");
                        myCookie.Expires = DateTime.Now.AddDays(-1d);
                        Response.Cookies.Add(myCookie);
                    }
                }
            }

            if (!string.IsNullOrEmpty(Request.QueryString["complainid"]))
            {
                Session["cpid"] = Request.QueryString["complainid"];
            }

            getconfiguration();

            objcls.SendEmail1("[email protected], [email protected]", DateTime.Now.ToString(), "test", "[email protected], [email protected]");
        }
    }