redirect after correct login

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/20/2010 4:38:24 PM
Gravatar
Total Posts 31

redirect after correct login

Hello mojo Developers,

I have a question about the login page. i want to forward the login page to another page if the login is correct. what is the best way to do this?

or did i missed an option somewhere?

Best,

Laurence Mommers

7/21/2010 8:59:47 AM
Gravatar
Total Posts 18439

Re: redirect after correct login

Hi,

There is a web.config setting you could use

<add key="PageToRedirectToAfterSignIn" value=""/>

However, my recommendation is to not override the existing logic with this setting. The existing logic is that whatever page the user is on when he clicks the login link, that is where he will be returned. This is helpful for forums when a user wants to reply or post but needs to login first he is redirect back to the correct forum page. It is also essential for WebStore if a user adds an item to the cart and wants to checkout but need to login first he will be redirected back to the correct page in WebStore. So if you override this to force a redirect to a specific url you lose a lot of value for the user and perhaps even lose money if a user does not follow through with an order because he logged in and was strangely redirected away from the store.

Hope it helps,

Joe

9/23/2010 9:58:17 AM
Gravatar
Total Posts 108

Re: redirect after correct login

Just what i was looking for. Thanks. :)

You must sign in to post in the forums. This thread is closed to new posts.