6, Java Web Foundation (session technology -- detailed explanation of cookie s and sessions, introduction to JSP)

1, Conversation Technology 1. Concept A session contains multiple requests and responses. One session: The browser sends a request to the server resource for the first time, and the session is established until one party disconnects 2. Functions: Data is shared between multiple requests within the scope of a session 3. Method: Clien ...

Posted by sungpeng on Sun, 03 Oct 2021 18:47:03 -0700

[crazy God Theory] JavaWeb notes (middle)

JavaWeb (medium) Cookie s and sessions 1. Conversation Session: users open a browser, click many hyperlinks, access multiple web resources, and close the browser. This process can be called session; Stateful conversation: when a classmate comes to the classroom next time, we will know that the classmate has been here, which is called st ...

Posted by Russ on Fri, 24 Sep 2021 20:10:54 -0700

cookie remembering account password function in Java Web Technology (permanent login)

preface When I was working on a Java Web project, I encountered the need to remember the account and password, but I didn't do it before. I only did c#. Net MVC to remember the account. Suddenly I didn't know how to start, and then I went to the Internet to find information. However, my understanding ability may not be very good, so I di ...

Posted by almightyad on Mon, 20 Sep 2021 10:14:10 -0700