Here I am trying to pass a String variable from one page to another using session..
But it gives an error..
Please help…
Here is my coding
//this is for sending
Session["themeColor"] = "Sky Blue";
//this is for retriving
String themeColor = Session["themeColor"].ToString();
If you are using Web Site try enableSessionState like this: