Redirect After Login
Last Post 05/07/2009 5:40 PM by rickhubbard. 5 Replies.
Author Messages
JFranks22
Nuke Active Member
Nuke Active Member
Posts:23


--
02/22/2009 10:24 PM
    Hi - I am running DNN 4.09.02 and am interested in what options I have for redirecting the user once they have logged in. Currently, the following message is displayed to the user "You do not have access to view this tab within the portal." if they were on the Home tab when logging in because we only display the Home tab to Unauthenticated Users. We would like the user to be redirected to their My Account tab once they login regardless of what page they where trying to access. Is this possible?

    Thank you in advance!
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    02/22/2009 11:04 PM
    On the User Accounts, User Settings page, you can specify redirect pages after Login, Registration, and Logout.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    JFranks22
    Nuke Active Member
    Nuke Active Member
    Posts:23


    --
    02/22/2009 11:20 PM
    I love it and appreciate your help!
    rickhubbard
    Nuke Newbie
    Nuke Newbie
    Posts:3


    --
    05/07/2009 12:18 PM
    Dear jncraig/Lee/et al,

    Would you be so kind as to elaborate on your answer above? It seems that "User Settings" applies only to the role 'Registered User.'

    Ror example, assume a site has three roles which require login. The default, 'Registered', 'Extra-Access', and 'Premium-Access.' Also assume that a user who logs in as Registered should be directed to a page for Registered Users yet cannot see pages reserved for Extra-Access nor Premium-Access users. In turn, 'Extra-Access' users, upon login, should be redirected to a page for Extra-Access users and see the Registered page, but not the Premium-Access page. Last, as you can suspect, the 'Premium-Access' role, after login, is redirected to a Premium-Access page and can view (and navigate to) Registered or Extra-Access as they wish.

    Welcome your suggestions for provisioning DNN to accomodate this approach.

    Best regards,
    Rick
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    05/07/2009 1:00 PM
    The best way to handle this is to set view permissions on each page depending on the roles to which the user is assigned.

    So, in your example, there are three roles. On the home page, or on other pages, create modules for each of the roles. You can also set specific pages to be viewed by specific security roles. But, having people redirected to specific pages based on the roles is more difficult.

    You can use modules like Dynamic Login and Dynamic Registration from Datasprings to handle specific actions on registration and login.

    If you use the User Settings, you can specify a page to which everyone is redirected after login, logout, or registration. For more complicated processing, Dynamic Login would be the way to go.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    rickhubbard
    Nuke Newbie
    Nuke Newbie
    Posts:3


    --
    05/07/2009 5:40 PM
    Joe, thanks for the informative & timely reply...looking into Datasprings right now.

    Best, Rick


    ---