When I use response.redirect in C# web application at that time show error "Thread being aborted"
and when I get session value from another page that time session contains null value because of error occurs.
how can I resolve this problem?
My code :
try
{
..........
....... ...
Code
..........
.........
Session["dtCSV"] = dtArjunaCSV;
Response.Redirect("ArjunaCSV.aspx");
}
catch(Exception ex)
{
lblErorr.Text="Error :" ex.Tostring();
}

Piyush PansuriyaPosted Dec 26, 2019, 12:55 AM
Tamil SelvanPosted Dec 23, 2019, 12:41 AM
Aniket RanaPosted Dec 23, 2019, 12:09 AM
Tamil SelvanPosted Dec 22, 2019, 11:42 PM
Aniket RanaPosted Dec 22, 2019, 11:04 PM
Piyush PansuriyaPosted Dec 22, 2019, 10:35 PM
Amit MohantyPosted Dec 22, 2019, 10:31 PM