I am writing an application in which I need to send System.Collections.ArrayList data as a parameter from one controller action to another. I use
return RedirectToAction ("action1", "controller1", new {arrList = arrListInFirstAction});
But since the ArrayList goes out of scope in the first action, the parameter in the action-redirected gets the null parameter.
Can anyone help me find the answer to this problem.
Thank.
source
share