For now i will try a bit different approach. I will have myapp/company_name_value/login when user logs in i will set a cookie with company_name_value and session.company_id. When user is logged out, i will use cookie value for redirection to proper login page.
My initial idea was to handle everything based on subdomain for example company_name_value.my_domain.com but this creates a different problem, so for now only possible solution is the one explained above. Is there any better way? -- --- 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.

