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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Redirect after Logout no longer works in 4.8.2Redirect after Logout no longer works in 4.8.2
Previous
 
Next
New Post
5/12/2008 12:04 AM
 

This featured worked great in 4.6.2, but after upgrading it seems to be broken again (when you logout it stays on the same page and does not redirect to the specified page for this setting). Is this a known issue? I see a lot of people have raised this but no one has had a conclusive reply.

 

To reproduce: Go to Uses and click on "User Settings".  Set "Redirect after Logout to a page (mine is set to homepage). Navigate to another page and click on Logout (mine stays on same page, which throws all sorts of errors as it does not preserve the querystring so any modules on the page requiring the URL vars thorw errors).

 


Thanks,
Rodney
Smart-Thinker - Social Networking modules for DotNetNuke
The DotNetNuke Directory - Are you listed?
PokerDIY - Example Implementation of DNN Social Network
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
 
New Post
5/12/2008 1:37 AM
 

Yes! This is correct.

 
New Post
5/21/2008 6:25 AM
 

Yes!!! I've too this issue! No solution?

 
New Post
5/21/2008 4:57 PM
 

This bug was also in 4.5.1. Allthough i'm still on 4.8.1 and i haven't test it yet, i guess that the solution from these times will still work.

In Directory admin\security change the procedure RedirectURL in the File signin.ascx.vb:

 Protected ReadOnly Property RedirectURL() As String
 Get
     Dim _RedirectURL As String = ""
     Dim setting As Object = UserModuleBase.GetSetting(PortalId, "Redirect_AfterLogin")
     If CType(setting, Integer) = Null.NullInteger Then
        If Not Request.QueryString("returnurl") Is Nothing Then
           ' return to the url passed to signin
           _RedirectURL = HttpUtility.UrlDecode(Request.QueryString("returnurl"))
        ElseIf PortalSettings.LoginTabId <> -1 And PortalSettings.HomeTabId <> -1 Then
           ' redirect to portal home page specified    
           _RedirectURL = NavigateURL(PortalSettings.HomeTabId)
        Else
           ' redirect to current page
           _RedirectURL = NavigateURL(Me.TabId)
        End If
     Else ' redirect to after login page
         _RedirectURL = NavigateURL(CType(setting,Integer))
     End If

     Return _RedirectURL
 End Get
 End Property

That always worked in every version i tested having this bug.

Kai

PS: Do not forget to make a backup ;-)

 
New Post
5/21/2008 7:42 PM
 

Kai wrote

This bug was also in 4.5.1. Allthough i'm still on 4.8.1 and i haven't test it yet, i guess that the solution from these times will still work.

Yes, the irony is that it was fixed in 4.6.x and now has been unfixed ;(


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Redirect after Logout no longer works in 4.8.2Redirect after Logout no longer works in 4.8.2


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