You need to Register for free and Login to post a message in the forum.

Forum

Subject: Pass values from one control page to another ?
Prev Next
You are not authorized to post a reply.

Author Messages
parag

Posts:10

22 Dec 2005 7:02 AM  

Hi

I want to pass values from one control  page to another control page without using queystring,or cookies  method.

Take for eg a user name "hash" which i can show it in another page as login name .

I have tried out Context and session methods ...but invain .May be i have got something wrong in my code.

 

Please if anybody can help me sort out the problem. 

 

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3426

22 Dec 2005 7:27 AM  
Hello,

If you are wanting to grab items such as Username, you can do that easily within the code. But I think you're wanting to pass parameters that someone is entering in a form through to another page?

I had this same problem when i was capturing several pages of data, if I put it in Viewstate the viewstate would be massive, it was way too much data to put into a URL string, cookies - a possibility  etc.. The workaround I did was to store the data directly in the database from each page, but - I did not have to call up previous data on the later pages, so again this may not suit. - The problem with this is it means you are accessing the database several times to add / recall content, which is not good practice.

Have you found any modules that do the task that you require? - I find it useful to refer to the source code of a module that can do the task and then adapt it to suit my needs.

Otherwise, I would try the asp.net forums for advice on best practice.

You may also find further information here:

 http://www.4guysfromrolla.com/

This is an excellent resource for asp.net programming.

I would be interested to hear the solution you implement, so let us know.

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Pass values from one control page to another ?



ActiveForums 3.7

Latest Forum Posts

RE: Child portal to live site by psgrzelak
Ok the original site that I had a standard web site was jacksonnjgop.com I than created a child port...
RE: Child portal to live site by jncraig
Is there any URL that will get me to your site?
RE: Child portal to live site by jncraig
"Ok I changed the A record of the Jackson site to point to the IP address of the DNN portal. I than...
RE: Child portal to live site by jncraig
I'm sorry that I offended you.  I was trying to give an honest answer.  That answer is, I continue t...
RE: Child portal to live site by psgrzelak
Kind of a round about way of answering my question without answering it.... I prefer the straight fo...
RE: Child portal to live site by jncraig
A subscription to this site will let you view the tutorials.  I believe that will be useful.  In fac...
RE: Child portal to live site by psgrzelak
Ok I changed the A record of the Jackson site to point to the IP address of the DNN portal. I than w...
RE: DotNetNuke News 8th Dec 08 by jncraig
Yes, I'm getting an error, also. But ... you can probably get the podcast from this link: http...
RE: Can't Login! Login Page can't be accessed... by jncraig
This table is part of your DotNetNuke database.You might first want to review these tutorials to hel...
DotNetNuke News 8th Dec 08 by pwadding
When I attempt to download the  Podcast I get an error message. Tried both servers. The first few li...
RE: Can't Login! Login Page can't be accessed... by e-kreator
a database that you mean.
RE: DotNetNuke 4.9.1 and 5.0.0 by jncraig
Yes, lots of learning, lots of new things and new ways.  I played a little with Beta6 of DotNetNuke ...
RE: PDF File Content by jncraig
If you want to just serve up the PDF files as PDF files, upload them using the File Manager.  You ca...
RE: Navigating between modules by jncraig
What is the URL that is generated? To which page does it send you?
RE: New Logo cant display by jncraig
There is nothing wrong with this, provided that you did it correctly.  I would have to look at your ...
RE: Child portal to live site by jncraig
You should set DNS to point the URL to the IP address of the DotNetNuke installation.  Inside of the...
RE: PopUp Page by jncraig
To open a link in a new window, format the link this way:Link to us! It is the target="_blank" that...
RE: How to Change fckeditor alignment by jncraig
It might be easier to use a different skin for your administrative pages. There have been some ot...
RE: Can't Login! Login Page can't be accessed... by jncraig
If you have access to your database, look at the Portals table.  Make sure that LoginTabID is set to...
RE: Can't Login! Login Page can't be accessed... by e-kreator
Hello my problem is that the configuration management in login page page was sent to a Web page that...
AppTheory
RSS Feeds