do not open pop up on session expires
<p>I have a page in asp.net. A button click in the page will open a pop-up.  </p>

<p>Now if session is expired, it is opening the pop-up window and in the pop-up it is showing the login screen.</p>

<p>Is there any way in which i can avoid pop-up being opened if the session is expired and directly go back to login page?</p>
