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 ...Edits To DNN Core? Edits To DNN Core?
Previous
 
Next
New Post
3/12/2007 1:14 PM
 

Hello All,

Im very new to the DNN enviornment and its pieces. Im having trouble understanding more of a concept then anything else. Any help in this matter would be greatly appreciated.

Im tasked with converting a classic ASP solution into the DNN framework. What I am wondering is how and moreso where changes would be made that would enhance some DNN core pieces to custom taylor them to my application. For exapmle :

The login module that comes with DNN. In my application when someone hits the login page, and authenticates themself as a valid user. The "handler" (in essence the code behind page) that processes the login information will check that the user is in the db, and once the user is good to go, a session variable set is created. It is done using very simple coding that looks something like this :

If (IsValidUSR(uid,pw)) = TRUE then
   session("user_id") = dbUsrID
   session("default_lang") = dbDefaultLang
   etc...
End If

since DNN is now handling this login process for me, where and how would i create this session variable list, and is there some way to add these session variables as part of a DNN variable collection of sorts?

If im completely off target please let me know, while i am looking for an answer I also want to learn, so im not forced to litter the forum with dumb newbie questions lol :)

thanks in advance,
-John

 
New Post
3/12/2007 3:34 PM
 

John,

session variables are not to be used with DNN as they do not support web farms. The DNN environment provides you with information about the current user and handles its permission. I suggest to work though the tutorials of core team fellow Michael Washington and check out the core modules to see, how permissions are hadled adequately.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/13/2007 1:14 PM
 
leupold wrote

John,

session variables are not to be used with DNN as they do not support web farms. The DNN environment provides you with information about the current user and handles its permission. I suggest to work though the tutorials of core team fellow Michael Washington and check out the core modules to see, how permissions are hadled adequately.

I understand the DNN enviornment provides me with info about the user and permissions, What im not wrapping the brain can be sumed up in this example:

Say i have one DB Table i created with User Information :
USERID
FNAME
LNAME
ADDRESS

Now i have the system generating the user ID number itself, as either an IDENTITY of GUID data type. I want to build a module that will list all of the people in this table by first and last name only, and when a portal visitor clicks the name of the person another page pops up with the users details. Now in my display page i make the user name a hyperlink that has the id I assigned them in my details table as the query string. The DNN enviornment will not have the value I assigned to them in my table.

I know these are basic questions, but while i understand .net development and have developed asp and vb for many years now, im just not getting how I make DNN understand the values in my tables as opposed to theirs.

Thanks, and sorry for the dumb questions.
-John

p.s.
I will read through the tutorials you linked me to now, thanks allot.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Edits To DNN Core? Edits To DNN Core?


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