I am trying to open a new window from code behind when the user clicks on a link button, but my application cookies and session is killed as user cannot do anything on the request page but i can see the window correctly with the response URL. Why is this happening and during the response I am not doing anything with the cookies. I was using the following post Response.Redirect to new window
string url = "XYZ"
string target = "";
string windowFeatures = "menubar=0,scrollbars=1,width=780,height=900,top=10";
script = @"window.open(""{0}"", ""{1}"", ""{2}"");";
script = String.Format(script, url, target, windowFeatures);
ScriptManager.RegisterStartupScript(page, typeof(Page), "Redirect", script, true);