proper way to pass parameters ??

G

Guest

Dear all,

In practice, what kind of mechanism you guys are you using to pass forms
variable, or control value if you need to pass them form to form.

As session we cannot so much rely on session due to time out, Viewstate is
affecting performance...

Thnaks for your comment ?

regards
serge
 
K

Karl Seguin [MVP]

Postback, load the values in the Context.Items and do a Server.Transfer.

Karl
 
G

Guest

is it the the most common way ?

Is there any guide lines on when it is prefered to use either, cookies or
viewstate or session ?

Ok cookies has its limitation in size and browser validation
Session is for user basis but......anything can be store in session too


thanks for your comments
 
K

Karl Seguin [MVP]

Different solutions fit different needs. If you are trying to transfer
information from one page to another, the method I outlined tends to be
prefered by those who know it.

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top