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  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  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...  Extend It! ( Pr...  Disabling the functionality of return-back-to-the-source-url of Login module after logout
Previous Previous
 
Next Next
New Post 4/16/2008 10:51 PM
Unresolved
User is offline aliasncnu
110 posts
9th Ranked


Disabling the functionality of return-back-to-the-source-url of Login module after logout 

Hi,

DNN Login module provide a the return back to source page if you Logout from pages other than homepages.

But this becomes a problem when I use Session. Let me explain clearly.

I have developed a module where Session are widely used if users click logout without closing browsers, waiting for a long time exceeding Session Timeout to login again. They will met the expetions due to Session["someobject"] becoming null, which should be initialize in other pages or modules.

So I hope DNN provide a setting to let site managers cancel the return-back-to-source-url functionality. Or if you someone got similar scenarios like this, please share your solution.

Thanks a million.

Ricky.

 

 
New Post 4/18/2008 5:47 PM
User is offline Matt Christenson
136 posts
www.RealSkydiving.com
9th Ranked


Re: Disabling the functionality of return-back-to-the-source-url of Login module after logout 

 aliasncnu wrote

Hi,

DNN Login module provide a the return back to source page if you Logout from pages other than homepages.

But this becomes a problem when I use Session. Let me explain clearly.

I have developed a module where Session are widely used if users click logout without closing browsers, waiting for a long time exceeding Session Timeout to login again. They will met the expetions due to Session["someobject"] becoming null, which should be initialize in other pages or modules.

So I hope DNN provide a setting to let site managers cancel the return-back-to-source-url functionality. Or if you someone got similar scenarios like this, please share your solution.

Thanks a million.

Ricky.

 

 

Are you saying that, without custom code - this scenario exists?  If so - it sounds like a bug in the core that should be fixed.  If the problem is caused by custom code - why can't you check to see if the session is nothing before using stored objects?

 
New Post 4/22/2008 10:36 PM
User is offline aliasncnu
110 posts
9th Ranked


Re: Disabling the functionality of return-back-to-the-source-url of Login module after logout 

Hi,

As you know, checking Session["som"] is null or not will clutter the codes with a lot of if..else.

Regards,

Ricky

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Disabling the functionality of return-back-to-the-source-url of Login module after logout
 


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.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

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