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  |  

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


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


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
118 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
138 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
118 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.

 


Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com
Code Endeavors, LLC
Do you Endeavor to Enhance your DotNetNuke designs by utilizing AJAX technologies to more efficient interactive web experiences
www.codeendeavors.com

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