nerosdecay
New Member
\[code\]protected void repeatButton_Click(object sender, EventArgs e) { Session["completed"] = false; Session["repeat"] = true; Session.Remove("answers"); Response.Redirect("~/Default.aspx",false); }\[/code\]I have a button on page and after clicking on it it modifies sessions and deletes one. Clicking the button causes the infinite loading but if delete Session.Remove("answers"); then infinite loading disappears. I found that parameter "false" in Response.Redirect should solve my problem but it doesn't. Could somebody tell me what am I doing wrong?