checkLoginIframe

If i am using checkLoginIframe ,the screen refresh twice.can any one help me to resolve that