Posted on: 11/21/2011 12:46:58 PM | Views : 269

In my main page, I am using the code to navigate to ProjectHome webpage and I am carrying the prid from this page.
<asp:HyperLinkField DataNavigateUrlFields="prid" DataNavigateUrlFormatString="ProjectHome.aspx?prid={0}" Text="Select" HeaderText="DETAILS" /> Then in ProjectHome.aspx.cs, I am retrieving the value using Query string and saving it as session value for future use.
prid = Request.QueryString["prid"]; Session["prid"] = prid;
And in one of my third pages, I am using the code to get the prid value prid = (string)(Session["prid"]); And my problem begins, When I go back to my ProjectHome page from this third page, it is requesting for the Query String which is not passed from this third page.
So, I tried ...

Go to the complete details ...