i created a session variable and try to call it on page load on another page the following error occur
: System.NullReferenceException: Object reference not set to an instance of an object.
code is
Session("name")=request(religion_list.selecteditem.text)
server.transfer("profile.aspx")
// then call
religion.selecteditem.Text = CStr(Session("name"))
Session.Remove("name")
plz help me to solve this