ok, here is what I am trying to do.
I have a frameset with 2 aspx pages. After someone clicks on a button in the
control page, I want to pass a SQL Query in a form of the string to the
results page
In the control Page I have the following code on button click.
Session["SQL"] = SQL;
Response.Write("<script>window.open('results.aspx' ,'Data');</script>");
On the results page, I have the following
string SQL = (string)Session["SQL"];
Label1.text = SQL;
Now the issue, it works the on the 1st click of the button with no issues.
All other clicks after the 1st click, the Session["SQL"] gets updates, but
the results.aspx never reads the new value.
If I "refresh" the "results.aspx" page it picks up the new value.
So what am I missing ?? Is there a easier way to do this ?? All I need is to
pass a string from one page to another page in the frameset.