1. Conversation concept Session: A series of requests and corresponding processes that occur continuously between a browser client and a web server. A session contains multiple requests and responses. Problems to be solved by sessions: During the session between the browser and the server, each user will inevitably generate some data. The program needs to […]
Tag: kie
Front-end authentication: cookie, session, token, jwt, single sign-on
Front-end authentication: cookie, session, token, jwt, single sign-on 1. Stateless HTTP protocol Stateless means that the protocol has no memory ability for transaction processing. The lack of state means that if the previous information is needed later, it must be retransmitted, which may result in a large amount of data transmitted per connection. The stateless […]
djiango ORM operation+COOKIE+SESSION+ORM offline script
Table of Contents 1.ORM 1.1 table structure 2.1 Connection database configuration 1. Connect to the default sqlite3 2. Connect to mysql 3. Connect to oracle 4. Connect to postgresql 5. Database connection pool 6. Connect multiple databases 3. 1 Database advancement (separation of reading and writing, sub-tables and sub-databases) 1. Separation of reading and writing […]
An article explains the difference between Token, Cookie and Session
Last week, we used jwt (Json Web Token) token, a no-session method, for user account verification for the first time within the team. We found that many articles on the Internet introduced token incorrectly, so we made some changes to cookies, sessions, and tokens. Let’s compare it (token in the article refers to jwt token) […]
[Session Technology] The workflow, differences and how to use Cookie and Session
Cookie Technology Web programs are transmitted through the HTTP protocol, and HTTP is a stateless protocol. When a client sends a request to the server, after the server returns a response, the connection is closed, and no connection information is retained on the server side. When the client sends multiple requests and requires the same […]
Cookie, Session, token, JWT, SSO
Start with status “HTTP Stateless” We know that HTTP is stateless. In other words, the HTTP requester and responder cannot maintain state, it is all one-time, and it does not know what happened in the previous and subsequent requests. But in some scenarios, we need to maintain state. The most typical example is that when […]
How to use Selenium to handle cookies, I learned it thoroughly today!
01. Cookie introduction HTTP protocol is a stateless protocol. Once the data exchange is completed, the connection between the client and the server is closed, and a new connection needs to be established to exchange data again, which means that the server cannot track the session from the connection. That is to say, even after […]
How to use Selenium to handle cookies, I learned it thoroughly today
01 Cookie introduction HTTP protocol is a stateless protocol. Once the data exchange is completed, the connection between the client and the server is closed, and a new connection needs to be established to exchange data again, which means that the server cannot track the session from the connection. That is to say, even after […]
Python master skills: perfect analysis of cookie acquisition and management
Article directory 1. Cookie acquisition in HTTP request 2. Cookie acquisition in Web framework 3. Use of Cookie Management Library 4. Simulated login and cookie authentication 5. Handling Cookie Expiration and Persistence Summarize In web development, cookies are a common technology used to store and transfer data between web servers and browsers. Cookies typically contain […]
Session+Cookie
severlet uploads a single file Use the annotation @MultipartConfig to identify each Servlet as supporting file upload Servlet encapsulates the POST request of multipart/form-data into a Part object, and operates the uploaded file through Part. Common methods public Collection getHeaderNames() // Used to get all the request headers contained in this part of the data […]