Change Code as below
Session["counter"] = Convert.ToString(Convert.ToInt32(Session["counter"])+1);
In below line of code ur implementing wrong logic .
Session["counter"] = Convert.ToString(Convert.ToInt32(Session["counter"].ToString()) + 1);
For further use Visual studio debbugger where you can identify the solution .