• Các đối tượng trạng thái phiên được tạo ra từ các lớp HttpSessionState, trong đó xác định một bộ sưu tập các trạng thái phiên.
• Để truy cập các đối tượng trạng thái phiên làm việc từ các tin mã phía sau cho một hình thức web, sử dụng các phiên sở hữu của trang.
• Để truy cập đối tượng trạng thái phiên làm việc từ một lớp khác hơn các tập tin mã phía sau cho một hình thức web, sử dụng tài sản của lớp HttpContext hiện tại để có được các đối tượng HttpContext cho các yêu cầu hiện tại. Đối tượng này chứa thông tin về các yêu cầu HTTP. Sau đó, bạn có thể sử dụng tài sản của mình để có được phiên đối tượng trạng thái phiên.
• Theo mặc định, các đối tượng trạng thái phiên được duy trì trong bộ nhớ máy chủ. Kết quả là, bạn nên tránh lưu trữ các mặt hàng lớn trong nước phiên
đang được dịch, vui lòng đợi..