Redirecting on login according to user level

Hello,

I have a functional Login page, and my security provider tells me what type of user has logged in, I just need to redirect to a different page acording to that type, for example.

type 1 -> page1.php
type 2 -> page2.php
type 3 -> page1.php

Any clues?

Thanks in advance.

Have a look at this discussion: Logic of Login handling for UserRoles

Hello Ben,

So, maybe getting the url from a field on the roles table once the user has logged in and using it as a parameter for the go.to?

I’ll give it a shot. Thank you

Either that or have an action page that specifies the goto page.

Personally I would go for the db option.