I have page named Page1.aspx which contain the following code in Page_Load event.
There is also a link on that page which when you click goes to Page2.aspx.
This second page Page2.aspx contain one web user control named UserControl1.ascx. I have written the following code in Page_Load of this user control
but nothing prints!
VB.NET:
Session("test") = "Hello"
There is also a link on that page which when you click goes to Page2.aspx.
This second page Page2.aspx contain one web user control named UserControl1.ascx. I have written the following code in Page_Load of this user control
VB.NET:
Response.write Session("test")
but nothing prints!