Looking through old code I wrote, I have discovered that following code placed
inside the Login.cfm page solves my problem of opening that page inside a
nested window on timeout:
if (opener.location.href.indexOf('PostJob') > -1){
opener.location=window.location;
window.close();
}
But it works only because the only nested window I have is opened from
PostJob.cfm. I would expect the following more general code to work, but it
does not. It does re-open the login page in the opener window (= main browser
window), but then it leads to that window continually trying to re-open itself:
if (opener){
opener.location=window.location;
window.close();
}
That seems odd, since it is not a nested window, so I would not suppose it to
have an opener...
-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------