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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Session valuesSession values
Previous
 
Next
New Post
10/24/2008 11:43 AM
 

Is there any documentaion that would list what sesion values are stored??

Thanks

 
New Post
10/24/2008 12:54 PM
 

yes, here it is:

 


PS: DNN does not use session variables, which do not work well in web farm scenarios.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/24/2008 3:26 PM
 

Thanks, Next question is if DNN does not use sessions how are the variable stored? I moved to the DNN platform for the clean look and the login security but adding my own pages seem to be a bit difficult. I've already created a site in which our clints log into and the only see their data (sql '05) thought Datagrids. Mostly revolved aroung thire clients log name through SQL stored procedures and views. As my other post states is I'm not buch of a VB prorammer and the code in DNN is a bit beyond me.

Thanks again.

 
New Post
10/24/2008 3:41 PM
 

Let me rephrase. What I need to know is how to display the users name that is logged in. One I get that I can then add that control to my SQL statements to pull the data I need.

 
New Post
10/24/2008 6:00 PM
 

if you just need the userid you can do something like

Dim currentUserID as integer = -1
If HttpContext.Current.User.Identity.IsAuthenticated Then
    currentUserID = UserInfo.UserID
End If

if you need access to the full user object to access other properties you do something like

Dim objUserInfo As UserInfo = UserController.GetCurrentUserInfo

dim txtUser as string=objUserInfo.username

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Session valuesSession values


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