473,412 Members | 4,127 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,412 software developers and data experts.

session variables vs dynanic page design

I've seen a few designs where developers condition dynamic web control
on the same page, enabling/disabling/visible=true/false using viewstate
and postback information to drive what the page does vs. a building
static pages for possible outcomes that call each other.

In terms of ease of support and troubleshooting, which is a generally
viewed as a better design? and why?

Also, wanted to ask, are session variables still the best way to
communicate control selections between pages? I'm asking because I've
seen a few professionaly developed solutions where they do not even
appear to be using session variables.

On the subject, is it true that setting of session variables is
something that must be done via code and that (or at leaste it appears)
cannot be done when the control is configured graphically. I noticed
that you can pass datasources values from other controls, but they
appear to be available only from the current page. Is this one reasons
for trying to make pages as self contained and dynamic as possible?

Can anybody point to any small/simple intranet type sample asp.net ap
with sources that demonstrates good asp.net design and viewstate
management?

Oct 1 '06 #1
1 1356
http://msconline.maconstate.edu/tutorials/default.aspx
<ja***@cyberpine.comwrote in message news:11********************@m7g2000cwm.googlegroup s.com...
I've seen a few designs where developers condition dynamic web control
on the same page, enabling/disabling/visible=true/false using viewstate
and postback information to drive what the page does vs. a building
static pages for possible outcomes that call each other.

In terms of ease of support and troubleshooting, which is a generally
viewed as a better design? and why?

Also, wanted to ask, are session variables still the best way to
communicate control selections between pages? I'm asking because I've
seen a few professionaly developed solutions where they do not even
appear to be using session variables.

On the subject, is it true that setting of session variables is
something that must be done via code and that (or at leaste it appears)
cannot be done when the control is configured graphically. I noticed
that you can pass datasources values from other controls, but they
appear to be available only from the current page. Is this one reasons
for trying to make pages as self contained and dynamic as possible?

Can anybody point to any small/simple intranet type sample asp.net ap
with sources that demonstrates good asp.net design and viewstate
management?

Oct 1 '06 #2

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

Similar topics

2
by: Marcus Robinson | last post by:
Hello, Can anyone tell me how to send a web page that uses Session variables in an email. The session variable that is used by the page I'd like to send contains a three dimensional array so...
14
by: qaz | last post by:
I've always used session cookies in my web sites. However, since more and more people (including me) are starting to disable cookies, I'm beginning to think that I should change my ways and design...
6
by: Lina Manjarres | last post by:
Hello, I have a session variable in a login page. Then I go to a form page where I uses the ProfileID and the UserID. Then I go to a result page where I would like to use the UserID as a filter,...
5
by: Michelle A. | last post by:
I have a four page form. Pages 1-3 stores there information in a session variables. Page four is reached (a final review page) and then the information will be written to the SQL server. When...
6
by: Nedu N | last post by:
Hi, I am trying to design a Home page for my applicatiion in which i want show the links for for some itms... I tried to put the following <td> <font face="Arial, Helvetica, sans-serif" ...
5
by: ASP.Confused | last post by:
As you can tell from my previous posts on this issue...I'm really confused :-/ I have a few ASP.NET web applications on my web host's "https" server. Our web host has a single "bin" folder for...
12
by: Thomas Andersson | last post by:
Hi, How can I access a session variable within a Public Class? I have tried the below code, but I get a server error "Object reference not set to an instance of an object". ...
4
by: Matt Jensen | last post by:
Howdy I've got a rather strange issue occuring. I used forms based .NET authentication, although I'm also setting some session variables when people login. However, I've found when people use...
6
by: =?Utf-8?B?U2hhd24gU2VzbmE=?= | last post by:
Greetings! I was researching AJAX to provide a solution to displaying status messages while a long process executed. I found several examples online and was able to use their code to get a quick...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.