Actually I got kind of a workaround. In my iframe, a redirect to the login page was distorting the page since the user.html was not resized. So I did this to escape the iframe and go full-page: <script>
this.top.location !== this.location && (this.top.location = this.location); </script> On Friday, 24 July 2020 23:21:03 UTC+3, Warwick JC wrote: > > Thanks. > Is it wrong to have iframe pages from the same app? > Regards > > On Fri, 24 Jul 2020 at 15:20, villas <villa...@gmail.com> wrote: > >> If you are using an iframe to display a page from the same app, I have >> the impression that your design might be wrong. You will probably find a >> better way after you give this a little more thought. Sorry if this answer >> does not seem so helpful. >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/web2py/36155787-351a-479c-8534-3c0c58e333dfo%40googlegroups.com >> >> <https://groups.google.com/d/msgid/web2py/36155787-351a-479c-8534-3c0c58e333dfo%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/f08c85f0-6cf7-49f0-8033-92ab50380449o%40googlegroups.com.