TAILIEUCHUNG - HandBooks Professional Java-C-Scrip-SQL part 259

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 259', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | f The domain The expiration time as a Time object True if secure cookie CGI Session CGI session class CGI Session maintains a persistent session between HTTP accesses. Session information is represented by string to string mapping. Session information can be stored via the user-defined database class. Required Library require cgi session Example request cgi session cgi CGI new html3 s CGI Session cgi if s last_modified previously saved data t s last_modified .to_i else t save data to session database s last_modified end . continues . Class Methods CGI Session new cgi _ option Starts a new CGI session and returns the corresponding CGI Session object. option may be an option hash specifying one or more of the following Key Function Default value session_key Key name holding the session ID _session_id session_id Unique session ID Generated automatically new_session If true a new session is created false database_manager Database manager class for storing session data CGI Session FileStore An option hash can specify options when creating the database manager object. The default database manager class CGI Session Filestore recognizes the following options Key Function Default value tmpdir Directory for temporary files tmp prefix Prefix for temporary files None Methods for Database Manager Database manager object should have following methods initialize session options Initializes the database. session is a CGI Session object. options is an option hash that passed to CGI Session new restore Returns the hash that contains session-specific data from the database update Updates the hash returned by restore close Closes the database delete Removes the session-specific data from the database Instance Methods s key Returns the value for the specified session key s key value Sets the value for the specified session key Deletes the session Writes session data to the database calling the update method of the .

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.