Products

Solutions

Learn More

Partners

Community

Blog

About

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 ...Invalid returnurl after portal login expirationInvalid returnurl after portal login expiration
Previous
 
Next
New Post
10/28/2016 3:34 PM
 

I am having a weird issue that I am not sure how to fix.  Maybe there is a setting somewhere in DNN I don't know about?

The problem:  If you login to a portal, then let it sit until your login expires, once you click to go to another page (a page that at least is locked down to registered users) you get redirected to the login page.  In the url of the login page I see something like this: https://www.hostname.com/login?returnurl=/mid/1350?portalid=2.  This is okay UNLESS the link you are clicking on includes some query string parameters.  For instance, lets say I have a list of people that will link to a detailed page when you click on a person.  If I click on the link after expiration, the URL on the login page would look like this: /People/PersonDetail/mid/1294?ID=123456.  Take the same list show idle long enough for your login to expire.  When you click on a person you will be redirected to the login page.  The url now looks like this:  https://www.hostname.com/login?returnurl=/People/PersonDetail/mid/1294?ID=123456?portalid=2.  It appears that the system just tacks on ?portalid=2 to the end of whatever url I clicked on.  Of course after logon, the system redirects me to the /People/PersonDetail/mid/1294 page and I get an error because ID 123456?portalid=2 does not exist.....

How can I keep the system from tacking that on at the end?  Or is this a bug I should file?  Or can I configure something that makes this work?  Or am I using query strings incorrectly with DNN?

Thanks!

 
New Post
10/29/2016 6:31 AM
 
which version of DNN are you running?

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
New Post
10/29/2016 12:00 PM
 
Dnn 8.0.4
 
New Post
11/3/2016 1:45 PM
 
Anyone have any ideas??
 
New Post
11/3/2016 4:18 PM
 
it looks like QS params are not properly handled, please log the issue into the public tracker at support.dnnsoftware.com

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Invalid returnurl after portal login expirationInvalid returnurl after portal login expiration


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.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW