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.0POST instead of GETPOST instead of GET
Previous
 
Next
New Post
3/21/2007 10:09 PM
 
I would like to pass data from one page to the next without putting it in URL ...
How would I do that in DNN?  If session is my only other option ... how does DNN implement that?  I've tried to figure it out to no avail.  Please advise.

Many Thanks!
 
New Post
3/22/2007 12:41 PM
 
Ok I think that I have this figured out ...

Session use is not really encouraged in DNN so what I did was save the information in TabModuleSettings like so:

objModules.UpdateTabModuleSetting(TabModuleId, "ThePath", ThePathValue)

And then on the next page I pulled up the value like so:

Dim strURL As String
If CType(Settings("ThePath"), String) <> "" Then
     strURL = CType(Settings("ThePath"), String)
End If

I hope this helps someone ...
 
New Post
3/22/2007 2:00 PM
 

Sybru:

To learn about session state management in DNN you really need to study session state management in ASP.Net.  The best place to get started is with the tutorials in www.asp.net.  Go to the link below and click on "Understanding Applications and State" then on "Managing State".  Note that all this info is for ASP.Net 2.0, like in DNN 4.x.  There may be some differences in ASP.Net 1 as in the DNN 3.x line.

Here is the link by the way:  http://quickstarts.asp.net/QuickStartv20/aspnet/Default.aspx

Carlos

 
New Post
3/22/2007 2:42 PM
 
Thanks for the link Carlos ... I understand how session works in ASP.NET but it seems that it's use is discouraged in DNN.  Because of session being tied to a specific machine web-farming becomes a problem.  I'm curious as to what DNN's alternative solution / implementation is. 

I know there are certain user values made available already but what if I want to pass something that isn't one of those values?  How do I do it without placing it in the URL? 
 
New Post
3/22/2007 5:26 PM
 
By the way don't try this for a value that will change for each user ... this approach won't work for that.  I'm still researching that issue ...
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0POST instead of GETPOST instead of GET


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