not clear
i am setting the session value on a button click event
Session["test"] = H_TYPE.Value;
on debugging i get
?HttpContext.Current.Session["test"].ToString()
"N"
and code line for initating a script in button click event
ScriptManager.RegisterClientScriptBlock(this, typeof(System.Web.UI.Page), "settype", "settype();", true);
in the
settype function on client side
i have
var background1 = '<%=Session["test"]%>';
alert (background1);
but gives blank