一段JS就搞定:
在登录页面中添加JS <script type="text/javascript">if (top.location != self.location) top.location=self.location;</script>
在登录页面中添加JS
<script type="text/javascript">if (top.location != self.location) top.location=self.location;</script>