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
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),
Although
Although the session mechanism has been adopted in Web applications for a long time, many people still do not know the nature of the session mechanism, and even cannot correctly apply this technology. This article details
The session
Javax. servlet. http. HttpSession session usage
The HttpSession class provides the setAttribute () and getAttribute () Methods to store and retrieve objects.
HttpSession provides a session ID keyword. A client participating in session behavior is
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).
PHP's Cookie
A cookie is a mechanism for storing data on a remote browser to track and identify users.PHP sends a cookie in the header of the HTTP protocol, so the Setcookie () function must be called before other information is
Objective
We use PHP to develop the background, we need to save some of the data, and we usually do is to save the database, but sometimes we do not need to save in the database, such as when we log on to the Web page, the site to show the last
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
Understand the Session in PHP and control the Session validity period. Understand the Session in PHP and control the Session validity period. The session validity period is 0. what is the session? The Chinese translation of a Session is called
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),
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.