Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Chat About It!  Redirect after Logout no longer works in 4.8.2
Previous Previous
 
Next Next
New Post 5/11/2008 9:04 PM
Unresolved
User is offline Rodney Joyce (Can't Post with old Account)
52 posts
10th Ranked


Redirect after Logout no longer works in 4.8.2 

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/11/2008 10:37 PM
User is offline Frozen DNN
282 posts
9th Ranked


Re: Redirect after Logout no longer works in 4.8.2 

Yes! This is correct.

 
New Post 5/21/2008 3:25 AM
User is offline Scippy One
143 posts
9th Ranked


Re: Redirect after Logout no longer works in 4.8.2 

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

 
New Post 5/21/2008 1:57 PM
User is offline Kai
89 posts
10th Ranked


Re: Redirect after Logout no longer works in 4.8.2 

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 4:42 PM
Online now... Rodney Joyce
1495 posts
www.smart-thinker.com
6th Ranked




Re: Redirect after Logout no longer works in 4.8.2 

 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 ;(


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!
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Chat About It!  Redirect after Logout no longer works in 4.8.2
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com
Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP