I have the following code that uses javascript to close a window. -
<td align="right"><a href="javascript:void(0)" onclick="window.opener=self;window.close();"><font face="Tahoma" color="#000080" size="4"><b>Close</b></font></a></td>
The problem is that I want to add -
Session("CanEdit") = "False" so it changes the value of the session variable when it closes. Otherwise I am stuck with that value when the user opens the form again.
<td align="right"><a href="javascript:void(0)" onclick="window.opener=self;window.close();"><font face="Tahoma" color="#000080" size="4"><b>Close</b></font></a></td>
The problem is that I want to add -
Session("CanEdit") = "False" so it changes the value of the session variable when it closes. Otherwise I am stuck with that value when the user opens the form again.