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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  DNN and Session State Server
Previous Previous
 
Next Next
New Post 7/15/2008 9:01 AM
User is offline shank
3 posts
10th Ranked


DNN and Session State Server 

Hi ALL,

We are having multiple DNN portals running under seperate worker processes. So we have the need to use state server for sessions. We are facing a problem when trying to store a DNN object(s) in session. Apparently, the DNN object in question is not made serializable and hence ASP.Net throws an error saying "Unabe to serialize the session". So the first question is , does DNN support/recommend session state server? The second question is : What is strange is , this works with DNN 4.8.0 . It does allow to store the dnn objects in state server. But when we try it in 4.8.2 it fails. We are clueless as to how that could it be? Any suggestions how to get them working? Our major problem is because of this one problem we are unable to move forward to upgrade to rcent versions of DNN , which we would like to do very much earliest possible.

Please post any suggestions/alternate solutions as this has been a impending problem since long , thanks in advance

Shankar

 

 

 
New Post 7/15/2008 3:24 PM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: DNN and Session State Server 

DotNetNuke does not use sessions, so we do not automatically mark core objects as serializable (typically we only mark items we plan on caching [particularly collections of objects]). As you no doubt know, state server and session database stores require any session variables to be serializable so that they can be stored and retrieved. If you are looking to store non-primitives in session then I would recommend that you create your own object(s) , mark them as serialzable, and populate them when you want. Alternatively you could edit the userinfo class and mark it as serializable.

Cathal

 
New Post 7/15/2008 11:57 PM
User is offline shank
3 posts
10th Ranked


Re: DNN and Session State Server 

Thanks for the quick reply. I understand whatever you said on serialisation, however what is perplexing to me is why is it that the core dnn objects are serialisable in 4.8.0 version , although they have not been made serialisable explicitly (looking at the source code)? Obviously i am missing something here. Do you have any suggestions for that? Thanks again for the direction.

 
New Post 7/16/2008 7:07 AM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: DNN and Session State Server 

I don't know, I'm surprised (and not completely convinced) if we've added and then removed serialisation based on a version - typically it's only added in, never removed as thats part of the contract. What object is it you're trying to serialise, userinfo?

Cathal

 
New Post 7/16/2008 7:50 AM
User is offline shank
3 posts
10th Ranked


Re: DNN and Session State Server 

Yes , Userinfo is one of them. As i mentioned, If you look at the source of this object , it does not appear to be serialised , but it still does not throw any error when it is being serialised. But the moment i upgrade the DNN version to 4.8.2 it starts throwing the error , Unable to serialise.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  DNN and Session State Server
 


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.

 


Icthus Technologies
Building Faith on the Internet
www.icthustech.com
Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com
DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com

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