Shiro provides complete enterprise-level session management capabilities, independent of the underlying container (such as Web container tomcat) that can be used regardless of the javase or Java EE Environment, providing session management, session
Preface:
There are two main ways to manage session in a Tomcat cluster:
1). Sticky session
Indicates that requests sent from the same window will be processed by the same tomcat in the cluster. The configuration is workers.properties the XML code
ObjectiveThe front spent a few blog introduction of the servlet, speaking very detailed. This article introduces you to cookies and session.I. Session Overview 1.1, what is a session?A session can be simply understood as: A user opens a browser,
The biggest difference between a session and a cookie is that the session is stored in the server's memory.And the cookie is saved with the browser or client file inside;Session is an access-based process that records the beginning and end of an
I. session Overview
What is a session? I didn't understand it at the beginning. non-professional dictionaries are translated into meetings and meeting periods. Make an inappropriate metaphor.
(Although inappropriate, it means the same thing).
The original Article connection: http://blog.csdn.net/bluishglc/article/details/7641714, reproduced please indicate the source!
Abstract: The main purpose of this article is to explain some important concepts in the cluster solution, and then
I. session OverviewWhat is a session? I didn't understand it at the beginning. non-professional dictionaries are translated into meetings and meeting periods. Make an inappropriate metaphor.(Although inappropriate, it means the same thing). session
The cookie session is displayed in the form of key---value,1. The session is stored on the server side, and there is a section of the control store user information, mainly to determine whether the user is logged in, when the client uses
I. Overview of the SESSION
What session is, at first I also do not understand, non-professional dictionary translation for the Conference, the Conference period. Make a less appropriate metaphor.
(although inappropriate, but the meaning is the same),
Compared with cookies in PHP Development, session is stored on the server side, which is relatively secure and has different storage length limits than Cookie, this article briefly introduces the use of session compared to cookies in PHP Development.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.