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
  Ads  
 


  Sponsors  

Meet Our Sponsors

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
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


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


Re: Redirect after Logout no longer works in 4.8.2 

Yes! This is correct.

 
New Post 5/21/2008 4:25 AM
User is offline Scippy One
148 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 2:57 PM
User is offline Kai
95 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 5:42 PM
User is offline Rodney Joyce
1584 posts
www.smart-thinker.com
5th 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.

 


Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com
Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com

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