Write this java script in each page those resides in iframe
if ( window.self == window.top ) {// not in a frame  window.location = "Default.aspx"; } else { //in a frame } ..........................We can use the same concept for Login page in Situation like.After session expiry login page rendering into iframe.we can avoid this by write this script into login pageif ( window.self != window.top ) {// In a frame  window.location = "Login.aspx"; } else { //Not in a frame }  
No comments:
Post a Comment