Basic analysis of servlet session Technology
•
Java
1、 Cookies
1. Set the cookie with the content of time
2. Get cookie information
2、 Session (getsession() --- > session not used for 30 minutes)
1. Set session
2. Get session
3. Session configuration, configuration time
4. Session destroy
5. The session is obtained by address rewriting. It will be rewritten only when cookies are disabled
3、 Client form submission problem
1. Prevent submitting empty passwords
2. Prevent duplicate submissions
summary
The above is all about the basic analysis of servlet session technology in this paper. I hope it will be helpful to you. Interested friends can continue to refer to other related topics on this site. If there are deficiencies, please leave a message to point out. Thank you for your support!
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码