473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

proper way to pass parameters ??

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
Jan 30 '06 #1
3 988
Postback, load the values in the Context.Items and do a Server.Transfer.

Karl

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

"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:D7**********************************@microsof t.com...
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

Jan 30 '06 #2
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" <se************@discussions.microsoft.com> wrote in
message news:D7**********************************@microsof t.com...
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


Jan 30 '06 #3
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" <se************@discussions.microsoft.com> wrote in
message news:EA**********************************@microsof t.com...
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" <se************@discussions.microsoft.com> wrote in
message news:D7**********************************@microsof t.com...
> 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


Jan 30 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

110
by: Mr A | last post by:
Hi! I've been thinking about passing parameteras using references instead of pointers in order to emphasize that the parameter must be an object. Exemple: void func(Objec& object); //object...
7
by: Zlatko Matić | last post by:
Let's assume that we have a database on some SQL server (let it be MS SQL Server) and that we want to execute some parameterized query as a pass.through query. How can we pass parameters to the...
3
by: Zlatko Matić | last post by:
Hello. I'm wondernig what is happennig whith saved pass-through queries nested in regular JET query if regular JET query just filtrates result by start/end date...Does pass-through query first...
0
by: Zlatko Matić | last post by:
Hi everybody! Recently I was struggling with client/server issues in MS Access/PostgreSQL combination. Although Access is intuitive and easy to use desktop database solution, many problems...
2
by: Alex Nitulescu | last post by:
Hi. I have tried to pass two parameters, like this: Response.Redirect(String.Format("NewPage.aspx?Username={0}, Pass={1}", txtUserName.Text, txtPass.Text)) But if I pass Username="Alex" and...
4
by: kinaxx | last post by:
Hello, now I'm learning progamming language in university. but i have some question. in textbook. says there are four passing Mechanism 1) pass by value (inother words : call by value) 2)...
2
by: gumby | last post by:
I would like to call this stored procedure, but I am unable to pass parameters to the @Start and @End. Is thier a way to pass parameters to a pass through query from MS Access? SELECT ...
10
by: Roger Frost | last post by:
Since we are currently on the subject of multi-threading in a different thread, I have a question about delegates. When I use delegates, I just create one for each different parameter set that I...
12
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.