Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Return URL and user registrationReturn URL and user registration
Previous
 
Next
New Post
3/26/2010 11:49 AM
 
Hello everyone...

I'm trying to accomplish a very simple task that I THINK dotnetnuke is actually designed to do (so please don't tell me about third party modules unless you know DNN is not designed to actually do this)

All i want it to do is take the user to the last page they were viewing after they register...

Originally when I setup DNN (5.2) I had setup users to be redirected to a welcome screen after they logged in or out or registered (it's a setting within the USER SETTINGS page)

I noticed whenever a user clicked on LOGIN, that the address bar included a variable ?RETURNURL=.. and then the address of the last page they looked at.. SO.. I removed those redirect settings, and now when someone logs in they are redirected back to the same page they were looking at (PERFECT!) Only problem is that when a new user registers, they are NOT redirected back to the last page they were looking at (but rather are always directed to my home screen) The variable RETURNURL is still there, but appears to be getting ignored... Any ideas from anyone?
 
New Post
3/26/2010 3:58 PM
 
Just wanted to update anyone following this thread.

I'm getting closer to a solution, but still haven't entirely figured it out..

One more thing I noticed is that the "return URL" for LOGIN is just the relative path (i.e. /home/lastpage.aspx), but when I click REGISTER, the "return URL" is the fully qualified link (i.e. http://www.mywebsite.com/home/lastpage.aspx)

This would lead me to beleive that what is happening is that the fully qualified link is being propageted where the relative path should be, and thus kicking an error (so the page would basically be trying to load "http://www.mywebsite.com/http://www.mywebsite.com/home/lastpage.aspx" and obviously would just kick back to the home page)

Anyways, that's my take on what's happening. The only question now is how to fix it... Anyone have any ideas?
 
New Post
3/26/2010 4:58 PM
 
One more update..

I'm hoping that one of you DNN developers will read this because I'm not sure if I should report this as a bug (and not sure how to find out if it has been fixed in version 5.3)

Anyways, I was able to check out a couple other DNN websites. Some exhibit this behavior, and some (presumably on older versions) do not...

I'm running version 05.02.02 (73)

Any idea if this is a bug?

Also, my installtion is not in the root (it's in a folder called "home") although I really don't think that should matter (but sometimes it does, so I'll throw that out there..)

Thanks in advance for any help!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Return URL and user registrationReturn URL and user registration


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out