Redirect after registration stopped working

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/19/2013 4:03:28 PM
Gravatar
Total Posts 19

Redirect after registration stopped working

I upgraded a site to version 2.3.9.5 mssql-net40 and redirecting after registration no longer seems to work.  I have this in the 

user.config:

<add key="PageToRedirectToAfterRegistration" value="~/select-team.aspx" />

I installed a fresh copy of mojoPortal and the redirect doesn't work there either, so it looks like a bug.  The url contains the page I was on when clicking register like: http://mojoportal/Secure/Register.aspx?returnurl=%2fDefault.aspx and I am sent to the home page after registering.

I understand this isn't a recommended method to redirect after registering, but it's easy and works exactly the way we want for this particular site.  Can you confirm this is a bug?

Thanks, 
Tom

2/20/2013 2:06:13 PM
Gravatar
Total Posts 18439

Re: Redirect after registration stopped working

Hi Tom,

Remove the ~ from your config setting and in the layout.master file of your skin on the <portal:RegisterLink add AutoDetectReturnUrl="false"

That should solve it.

Hope that helps,

Joe

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