tailieunhanh - mcts 70-562 Microsoft .NET Framework 3.5, ASP.NET Application Development phần 3

Hai loại điều khiển máy chủ Web Button nộp và các nút lệnh. 2. Bạn có thể mặt nạ nhập vào mật khẩu của người dùng bằng cách thiết lập thuộc tính TextModeBạn có thể buộc một PostBack ngay lập tức cho một điều khiển CheckBox bằng cách thiết lập tài sản autopostback đúng sự thật. | nario each client provides all the information any Web server needs to process a request. With server-side state management if a client switches servers in the middle of the session the new server does not necessarily have access to the client s state information as it is stored on a different server . You can use multiple servers with server-side state management but you need either intelligent load balancing to always forward requests from a client to the same server or centralized state management where state is stored in a central database to which all Web servers have access . Storing information on the server has the following advantages Better security Client-side state management information can be captured either in transit or while it is stored on the client and maliciously modified. Therefore you should never use client-side state management to store confidential information such as a password authorization level or authentication status. Reduced bandwidth If you store large amounts of state management information sending that information back and forth to the client can increase bandwidth utilization and page load times potentially increasing your costs and reducing scalability. The increased bandwidth usage affects mobile clients most of all because they often have very slow connections. Instead you should store large amounts of state management data say more than 1 KB on the server. The choice you make for managing application state should be decided based on these trade-offs. If you are writing an application with relatively few users and high security requirements you might consider leveraging server-side state. If you want to maximize for scalability but potentially slow down requests across slower bandwidth connections you should rely on a heavy mix of client-side state. Of course there is also persisted state or data stored in the database. You need to factor this into your decision too. You can decide to store all user information in the .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã 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.