Last post May 25, 2011 04:17 AM by Mamba Dai - MSFT
May 23, 2011 02:52 AM|sampathgangam|LINK
we are developing a web application using vb.net with Iframes.In this application iframes and pop up's screen are there .we use the form authentication .my problem is when session is time out the login page opening in new window the previous window is not
closing i want redirect login page previous window How can i solve this problem
May 23, 2011 04:25 AM|MrDaveM|LINK
If I understand your question correctly you have a popup window open and after the session has timed out the login page is opening in the popup window. You want the opening window to display the login page and not the popup.
if(window.name == "myPopupWindowName" && !window.opener.closed )
window.opener.location.href = "login.aspx";
May 25, 2011 04:17 AM|Mamba Dai - MSFT|LINK
If your code snippet in the web.config is like this:
<forms loginUrl="/login.aspx" timeout="30"/>
The client will be redirected to login page when the session is time out, and it doesn't open a new window. This
link may be useful to you.
By the way, you need to provide more explanation for your issue if the above idea can't help you.