Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > proper way to pass parameters ??

Reply
Thread Tools

proper way to pass parameters ??

 
 
=?Utf-8?B?c2VyZ2UgY2FsZGVyYXJh?=
Guest
Posts: n/a
 
      01-30-2006
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
 
Reply With Quote
 
 
 
 
Karl Seguin [MVP]
Guest
Posts: n/a
 
      01-30-2006
Postback, load the values in the Context.Items and do a Server.Transfer.

Karl

--
http://www.openmymind.net/



"serge calderara" <> wrote in
message news7A19D26-1B16-4167-B655-...
> 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



 
Reply With Quote
 
 
 
 
=?Utf-8?B?c2VyZ2UgY2FsZGVyYXJh?=
Guest
Posts: n/a
 
      01-30-2006
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

"Karl Seguin [MVP]" wrote:

> Postback, load the values in the Context.Items and do a Server.Transfer.
>
> Karl
>
> --
> http://www.openmymind.net/
>
>
>
> "serge calderara" <> wrote in
> message news7A19D26-1B16-4167-B655-...
> > 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

>
>
>

 
Reply With Quote
 
Karl Seguin [MVP]
Guest
Posts: n/a
 
      01-30-2006
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

--
MY ASP.Net tutorials
http://www.openmymind.net/


"serge calderara" <> wrote in
message news:EA8FD57B-CCEE-4355-A500-...
> 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
>
> "Karl Seguin [MVP]" wrote:
>
>> Postback, load the values in the Context.Items and do a Server.Transfer.
>>
>> Karl
>>
>> --
>> http://www.openmymind.net/
>>
>>
>>
>> "serge calderara" <> wrote in
>> message news7A19D26-1B16-4167-B655-...
>> > 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

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the most secure way to pass querystring parameters psycho ASP .Net 1 03-31-2008 01:28 PM
safest way to pass parameters between pages Aussie Rules ASP .Net 3 10-09-2007 04:07 AM
Proper way to use LIKE operator with SqlDataSource and control parameters in declarative markup? ASP .Net 2 08-18-2007 02:07 AM
Proper way to pass a catch back to the parent page. darrel ASP .Net 3 04-06-2006 01:13 PM
Proper Way to Pass Numerical Values to a Function Martin McCormick C Programming 2 10-17-2003 01:17 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57