TAILIEUCHUNG - Professional ASP.NET 3.5 in C# and Visual Basic Part 157

Professional in C# and Visual Basic Part 157. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS | Chapter 33 Administration and Management Pages and Controls Use this feature to configure settings pages and controls. Display. Friendly Names Behavior Buffer True H User Interface s View State s Compilation Base Type For Pages Base Type For User Controls Compilation Mode Always H General El Namespaces StringO Array Services Enable Session State True Validate Request True Figure 33-36 You can apply state management to your applications in a number of ways and this dialog allows for a number of different settings some of which are enabled or disabled based on what is selected. The following list describes the items available in the Session State Settings section Session state mode Determines how the sessions are stored by the application. The default option shown in Figure 33-38 is InProc. Other options include Off StateServer and SQLServer. Running sessions in-process InProc means that the sessions are stored in the same process as the worker process. Therefore if IIS is shut down and then brought up again all the sessions are destroyed and unavailable to end users. StateServer means that sessions are stored out-of-process by a Windows service called ASPState. SQLServer is by far the most secure way to deal with your sessions it stores them directly in SQL Server. StateServer is also the least performance-efficient method. 1525 Chapter 33 Administration and Management Session State Session State Mode Settings Not enabled In process Custom State Server Connection string SQL Server Connection string __ Enable custom database Cookie Settings Figure 33-38 Cookieless mode Changes how the identifiers for the end user are stored. The default setting uses cookies UseCookies . Other possible settings include UseUri AutoDetect and UseDeviceProfile. Session timeout Sessions are stored for only a short period of time before they expire. For years the default has been 20 minutes. Modifying the value here .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.