Posted on: 2/23/2015 6:32:22 PM | Views : 533

I have this for naming the sessions (they are already defined up in the code).... Session["7"] = Session["sectionList"]; ... .... int p = 2; for (int m = 8; m <= 20; m++) { Session[String.Format("{0}",m)] = Session[String.Format("sectionList{0}",p)]; // p++; } in cs code and this var lineString = '<%= String.Join(",",(Session["7"] as List<String>).ToArray()) %>'; var spl1 = lineString.split(','); var lineString8 = '<%= String.Join(",",(Session["8"] as List<String>).ToArray()) %>'; ..... ....in aspx file but the app stops at
 var lineString8 = '<%= String.Join(",",(Session["8"] as List<String>).ToArray()) %>'; & ...

Go to the complete details ...