Thanks Anthony now i understand what is going on. In my 0.py i added:
if session.company_url:
auth.settings.login_url = URL("default", "login", args=session.
company_url)
else:
auth.settings.login_url = URL("default", "login")
session.company_url is set on login. This works like i wanted.
Thanks!
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.