You can use
QueryString
to do this task.
Add a
QueryString
when you redirect the page.
Eg :
Response.Redirect("~/ChangePassword.aspx?rd=fp");
Response.Redirect("~/ChangePassword.aspx?rd=lg");
If(Request.QueryString["rd"].ToString() == "fp")
{
}
else
{
}
You can do same things by setting a
Session
variable.
Good luck.