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...Using Modules a...Using Modules a...Account Login Module Redirect with QuerystringAccount Login Module Redirect with Querystring
Previous
 
Next
New Post
2/5/2010 2:40 AM
 

Hello,

I am having a problem getting the Account Login module to redirect to the same page when it contains a querystring.

For example I am using indoogrid to pass a parameter to a page with the following url:

http://revitinfo.com/Revit_Forum/Attachments/ContentID/205.aspx

If the user is logged in, everything works great.  Everything works great period, but I was wanting to streamline the login a bit for users who haven't already logged in by locating a login module on the redirected page.

I am doing this because I am using the page in a smaller, consolidated window, that doesn't show all of the same Skin objects as my normal page.  So I had to add the actual Account login module to the page, because I didn't want the other login options.

Anyway, when I place the login module on the page, I am able to login, and it redirects, but to:

http://revitinfo.com/Revit_Forum/Attachments.aspx

It's getting rid of the Querystring.  All I am wanting the module to do is redirect to the exact same url as I am already on, querystring and all.

My DNN version is 05.02.01.

Any help is greatly appreciated.  I did find this one link that had something related to what I am saying, but, first it says it's already been fixed, and second, I tried copying the code they show in the bottom and replacing, and I get a site error...

Thanks in advance.

 
New Post
2/5/2010 6:12 AM
 

make sure you dont have any redirection set in user account settings (admin>user accounts>useraccount setting)

 


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
2/5/2010 9:48 AM
 
Hey thanks For the reply! Unfortunately, that's not the problem. I did about 4 hours of testing and research last night and read probably close to all if not all of the "simple" fixes. Based on the link that I provided at the bottom of my last post, it just seems that something in the core is still functioning improperly. The redirect works fine if I set the workflow up to take me to the login page. It puts a return URL parameter in the url and returns back all of my custom URL parameters.I have passed three before with this method. As I describe already, the prroblem occurs when the module exists on the same page I am trying to access. That page is visible to all, but has a module on it that needs the querystring "contentid" that gets passed to it by a click on the previous page. If a user who is not logged in clicks on the link, he goes to the same page as everyone else, just has to login using module on that page. At this point, the problem occurs because the module or core doesn't properly redirect to the same page, as in my example above,it leaves out the URL parameter "contentid" once the user logs in.

Any other thoughts or ideas would be greatly appreciated
 
New Post
2/5/2010 4:05 PM
 
Hi, bump...anyone have any other thoughts on this? I am really looking hard for a solution.

If you would like to try the functionality, go to the following page:

http://revitinfo.com/Revit_Forum/Entry_Details/EntryID/245.aspx

Click the attachment icon at the bottom of the post.

A pop-up window will occur, and you should see the login module. Notice the url. http://revitinfo.com/Revit_Forum/Attachments/ContentID/235.aspx

Login in using username: indoogrid password: indoogrid

Now, when you redirect to the same page, you lose the "ContentID" parameter that was previously passed.

Please help!
 
New Post
2/9/2010 2:22 PM
 
I guess there are no other pros out there who have a thought about this? Does it sound like it could be a bug? If so, how should I report it?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Account Login Module Redirect with QuerystringAccount Login Module Redirect with Querystring


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