Through these clever techniques, you can make it appear to the user as if
the browser is intimately linked to the web application and maintains an ongoing, connected
relationship, as experienced when using a thick-client application running locally on the
user??™s desktop. AJAX functionality takes these state management techniques to the next level
by reducing the number of full-page postback cycles giving the application an appearance
even more like a Windows application. In this chapter, we cover the various techniques available
in ASP.NET 3.5 to maintain state and demonstrate how these techniques relate to building
server controls, such as using ASP.NET ViewState and ControlState to leverage the ASP.NET
infrastructure.
Web developers can choose to maintain application state in a web application in two locations:
on the client side or on the web server. Client-side state management techniques include
cookies and hidden form fields. Server-side state management techniques include Session and
Application variables, as well as additional options that we discuss later in this chapter.
ASP.NET Request-Processing Architecture
When you develop web-based applications, managing user state and implementing a secure
robust application are high on the list of requirements.
Pages:
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158