Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedSession Object in dnn 5.4Session Object in dnn 5.4
Previous
 
Next
New Post
1/12/2011 10:54 PM
 
This is the Session Object that i printed out

----This is the one return Nothing
Add
Session timeout: 20
Session Keys has 0
Session Keys:
Session ID is ck4ceayolzj0go55f3w2x1vi
Session cookiesless? False
Session has 0
Session:
Session is Sync False
Session Code Page 65001
Session LCID 1033
Session Mode: InProc
Session CookieMode 1
Session SynRoot HttpSessionStateContainer
Session StaticObjects has 0
Session StaticObjects:
------ This is the one that actually can retrieve object in session
Add
Session timeout: 20
Session Keys has 4
Session Keys:
ProductCategory.FoundNode
ProductCategory.lstNewFileType
ProductCategory.IntLastValueFileFormat
ProductCategory.objPdtCtgr
Session ID is ck4ceayolzj0go55f3w2x1vi
Session cookiesless? False
Session has 4
Session:
TreeNode
List`1
Int32
ProductCategoryInfo
Session is Sync False
Session Code Page 65001
Session LCID 1033
Session Mode: InProc
Session CookieMode 1
Session SynRoot HttpSessionStateContainer
Session StaticObjects has 0
Session StaticObjects:

--- I have been clicking the AddButton for more that 5 times just to came out the one with object instead of nothing ----
Is there any setting I need to do in dnn or server or IIS ----

Thanks in advance
 
New Post
1/12/2011 10:56 PM
 
This is the Session Object that i printed out

----This is the one return Nothing
Add
Session timeout: 20
Session Keys has 0
Session Keys:
Session ID is ck4ceayolzj0go55f3w2x1vi
Session cookiesless? False
Session has 0
Session:
Session is Sync False
Session Code Page 65001
Session LCID 1033
Session Mode: InProc
Session CookieMode 1
Session SynRoot HttpSessionStateContainer
Session StaticObjects has 0
Session StaticObjects:
------ This is the one that actually can retrieve object in session
Add
Session timeout: 20
Session Keys has 4
Session Keys:
ProductCategory.FoundNode
ProductCategory.lstNewFileType
ProductCategory.IntLastValueFileFormat
ProductCategory.objPdtCtgr
Session ID is ck4ceayolzj0go55f3w2x1vi
Session cookiesless? False
Session has 4
Session:
TreeNode
List`1
Int32
ProductCategoryInfo
Session is Sync False
Session Code Page 65001
Session LCID 1033
Session Mode: InProc
Session CookieMode 1
Session SynRoot HttpSessionStateContainer
Session StaticObjects has 0
Session StaticObjects:

--- I have been clicking the AddButton for more that 5 times just to came out the one with object instead of nothing ----
Is there any setting I need to do in dnn or server or IIS ----

Thanks in advance
 
New Post
1/13/2011 7:39 AM
 
It all most seems like your session is timing out. Do you have a separate App Pool for the site? It may be that the object you are adding is actually null. Can you add one new Set with a hard coded string, then get that in one place and and see if it works.
 
New Post
1/13/2011 8:02 PM
 
May I ask what is app pool? My application currently run on localhost. This is setup in IIS. My application is build under the Default Web site of sites. I also have followed your suggestion on putting a string onto session. This also acts the same. I assigned a string onto session over page load when the page is not postback. And, retrieve the string when a link button is clicked. It return null; it return nothing.

Any more idea? Thank You.
 
New Post
1/14/2011 7:41 AM
 
An app pool is where IIS controls memory and other settings such as time outs. Its a best practice to create a new app pool and assign your application (virtual directory) to that pool. It will prevent cross contamination between applications. Its done in IIS admin. It doesn't sound like this is your problem. Your session settings look very similar to mine. Try using the Application rather then the Session object. Just for kicks and giggles and lets stick with the hard coded strings. Also try adding two new button and in the processing of the first button set a Session key and get it in the second. Again hard coded strings. Check this out: http://www.codeproject.com/KB/aspnet/SessionTimeoutOnDNN.aspx You might want to try posting this to a MS ASP forum if this doesn't work. I'd be interested if you find a solution.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedSession Object in dnn 5.4Session Object in dnn 5.4


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out