Session variable lost after Response.Resdirect


attempting pass value page session variable being lost after response.redirect.  i've looking on google solutions said use:

response.redirect("yourpage.aspx",false);

however wehn try read variable page redirecting exception:

"object reference not set instance of object"

what things can check prevent session variable being lost?

is server.transfer alternative or query strings

is possible redirect in javascript , not lose session variable?

many thanks

response.redirect("checkout.aspx?factor=" + x.tostring());



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'