Learn More





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 ...Login link with return urlLogin link with return url
New Post
7/26/2014 8:27 AM


We have recently upgraded a site from DNN 5.6.8 to 7 without too many problems.

There is one issue that I can't find a solution to - we use a  module on more than one page and it has a link to our login page - previously we used 

<a id="dnn_dnnLOGIN_cmdLogin" class="OtherLinks" href=" __doPostBack('dnn$dnnLOGIN$cmdLogin','')"><strong>Login</strong></a>

to ensure the user was redirected back to the page they were on after login. This no longer works. Is there a way to pass this information now ?

Thank you



New Post
7/26/2014 9:05 PM


  What code are you using to generate the login link?  I see html which indicates you are using a linkbutton but you don't show any of the code behind.  More details on exactly how this is coded would help in troubleshooting the issue.

Joe Brinkman
DNN Corp.
New Post
7/27/2014 2:47 AM
We don't use any code. What you see is what we were using before the upgrade. It is a module which uses HTML templates and this always worked as a way to link to login page and return the user correctly.
Do you know of any way to do this via HTML in dnn 7
Thank you
New Post
7/27/2014 6:14 AM
try linking to /default.aspx?ctl=login

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
7/27/2014 7:55 AM
Hi Sebastien
Unfortunately that doesn't work either - I need it to return to the page the original link was on after the user has logged in and that doesn't seem to happen ?
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login link with return urlLogin link with return url

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?