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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to not pass values in the URLHow to not pass values in the URL
Previous
 
Next
New Post
7/30/2007 3:01 PM
 

 

Is there a feasible way to pass variables in dnn between modules on different tabs without encoding it in the url? Session variables are apparently a no-no in DNN, and the .NET 2.0 option http://msdn2.microsoft.com/en-us/library/6c3yckfw(VS.80).aspx of PreviousPage won't work on controls inside modules?

Any suggestions?

 

 
New Post
7/31/2007 9:35 AM
 

So no one else has had this come up before or is this a to advanced question?

 
New Post
7/31/2007 12:44 PM
 

Who says that session variables are a no-no in DNN???  Session variables, as well as all the other methods of dealing with retaining page state and passing values, has its pros and cons.  But it is not what it used to be in classic ASP pages, it should loose that stigma already and not be discarded right away as a big taboo.  Session variables in ASP.Net 2.0 (and even 1.1) are well implemented and a feasible alternative.  You need to understand the issues related to its use though, you don't want many concurrent users to save large datasets in them for instance, but for passing simple values from page to page, I don't see a problem with that.  This is actually my preferred way of doing it by the way, it keeps the URL clean and removes a possible application attack vector.  But again, I am not dealing with eBay kind of traffic levels.

Just in case you haven't realized this, session variables are kept in server memory (unless it is configured to be sent to a database, needed in server farms).

Carlos

 

 
New Post
7/31/2007 1:15 PM
 

Session variables are not recommended with DNN running in a farm environment.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
7/31/2007 1:19 PM
 

raldo wrote

 

Is there a feasible way to pass variables in dnn between modules on different tabs without encoding it in the url? Session variables are apparently a no-no in DNN, and the .NET 2.0 option http://msdn2.microsoft.com/en-us/library/6c3yckfw(VS.80).aspx of PreviousPage won't work on controls inside modules?

Any suggestions?

 

use IMC, for more details on that check the Module Developer's Guide. in the documentation section.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to not pass values in the URLHow to not pass values in the URL


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