You must set some value to session
called name
.
Example (vb.net) :
Session.Add("name","some string")
Then You can use this Session("name")
in any page.
For example in some other page : Dim str As String = Session("name")
If You want pass some value using QueryString
, from one to another page then use below code.
Example :
deafult.aspx
Response.Redirect("otherpage.aspx?name=Some string")
otherpage.aspx (code behind) :
Request.QueryString("name")
I hope so this is what You need.