Posted on: 4/30/2011 12:40:57 PM | Views : 365

Hi All   Im trying to set a Session variable when a Page has been closed.   I create a new Page when a button has been pressed on a page:-   protected void btnOpen_Window_Click(object sender, EventArgs e) { String WebPage_Location = "~/Web Pages/"; String Order_WebPage = WebPage_Location + "Order.aspx"; // Normal Window size //ClientScript.RegisterStartupScript(typeof(Page), "Order", "<script type='text/javascript'>window.open('" + ResolveUrl("~/Web Pages/Order.aspx" + "')</script>")); // Fullscreen Window size String WindowOptions = "status=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=yes,location=no,top=0,left=0,fullscreen=yes"; ClientScript.RegisterStartupScript(typeof(Page), "Order", "<script type= ...

Go to the complete details ...