Security check to avoid direct visitor on a page -
i have page want loaded iframe.
i use solution on link it. how identify if webpage being loaded inside iframe or directly browser window?
but doesn't work in ie use conditional comments this
<!--[if ie 9]> <script type="text/javascript"> window.location = "http://mysite.com/nodirectvisit.html"; </script> <![endif]--> together working in ie, chrome, ff, , opera.
i want ask if there still other ways visit page directly?
thanks
if user disables javascript, code not run. maybe use sessions track users coming from?
Comments
Post a Comment