-
Notifications
You must be signed in to change notification settings - Fork 1
/
confirmupdatepmconfig.aspx.cs
33 lines (30 loc) · 1.01 KB
/
confirmupdatepmconfig.aspx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class confirmupdatepmconfig : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
//Coming from MyAccount.aspx
if (!string.IsNullOrEmpty(Request.QueryString["mode"]) && !string.IsNullOrEmpty(Request.QueryString["val"]))
{
string mode = Request.QueryString["mode"];
switch (mode)
{
case "receivepm":
Response.Redirect("myaccount.aspx?method=receivepm&setting=" + Request.QueryString["val"]);
break;
case "pmemailalert":
Response.Redirect("myaccount.aspx?method=pmemailalert&setting=" + Request.QueryString["val"]);
break;
}
}
}
}