Hi, I have found the answer googling. It is enough putting Response.Cache.SetCacheability(HttpCacheability.NoCache) in the Page_Load of pop up window. On the other hand here is the code snippet, Page1.aspx function DoDo(){ window.showModalDialog("Show.aspx","aa"); } LinkButton protected void Page_Load(object sender, EventArgs e) { Session["AA"] = "have a good day!"; } Show.aspx protected void Page_Load(object sender, EventArgs e) { if (Session["AA"] != null) Response.Write(Session["AA"].ToString()); else Response.Write("NULL.........."); } I hope this help to other people. Regards, Jose
J
Jose Alvarez de Lara
@Jose Alvarez de Lara
Posts
-
Hold the parent session when calling a showModalDialog child -
Hold the parent session when calling a showModalDialog childHello, There are two articles here in the Code Project. I am talking about "Those Crazy Popups" and "ASP.Net Modal Window Server Control". I am looking for something like them, but I need to fix those articles into my issue. Any help will be appreciate. Regards, Jose
-
Hold the parent session when calling a showModalDialog childHi Puri, That is what I did. And I maintain a conversation between then parent and the child. I am thinking if it is possible to send the parent session to the child and bring it back to the parent when close the child. Thanks for your interesting, Jose
-
Hold the parent session when calling a showModalDialog childHi, I am developing a web app in VB.NET 1.1. In some Webforms I call a showModalDialog child, but when I close it, the parent session is removed. Please, how can I hold it? Thanks in advance, Jose Alvarez de Lara