Use and management of session under Tomcat

xiaoxiao2021-03-06  79

GetId Servlet HttpSession interface provided by () returns Session of IDinvalidate () setAttribute (String name, Object value) getAttribute (String name) getAttributeNames () isNew () setMaxInactiveInterval () getMaxInactiveInterval () URL rewrite way to track Session public java.lang. String EncodeURL (java.lang.string URL)

> session's persistent servlet container creates a session object, save it To a file system or database. Configure filestore

Author Blog:

http://blog.9cbs.net/ezerg/

转载请注明原文地址:https://www.9cbs.com/read-95176.html

New Post(0)