|
ASP.NET Application and Session state
variables
Application
state variables Session state
variables Point to be
noted about Application and Session state variables
By Nishant Kumar
By default, ASP.NET maintains page data between the requests
using mechanism called View state. Every web form has view state
property to retain data. The form's view state can retain data only
in that form. So, when you need one form data in other form, you
can't rely on view state. ASP.NET provides state variables in the
Application or Session objects that helps in maintaining state of
the form which can be accessed in other form.
Application state variables
The data stored in these variables is available to all the users i.e. all the
active sessions.
Session state variables
These are available to the single session who has created the variables.
Point to be noted about Application and Session state
variables
These variable can store any type of data.
Maintaining Session state affects performance.
Session state can be turned off at the application and page levels.
Application state variables are available throughout the current process, but
not across processes.
Also read
How do we access crystal reports in .NET? What are the various
components in crystal reports? What basic steps are needed to
display a simple report in crystal?..........
ASP.NET 2.0 Security
Controls
With ASP.NET 2.0, things have changed for the better. For
security-related functionalities, ASP.NET 2.0 introduces a wide
range of new controls..............
ASP.NET 2.0
Validation Groups
With ASP.NET 2.0, Microsoft introduces a new feature known as
validation groups, which enables you to create different groups of
validation controls and assign them to input controls, such as text
boxes. You can assign a validation group to a collection of input
controls if you want to validate the collection of input controls on
the same criteria............
Describe
how the ASP.NET authentication process works.
ASP.NET runs inside the process of IIS due to which there are two
authentication layers which exist in the system.............
Windows
authentication.
If windows authentication mode is selected for an ASP.NET
application, then authentication also needs to be configured within
IIS since it is provided by IIS............
|