Session
-
MongoDB TransactionsDB/Nosql 2020. 2. 23. 20:18
1. Overview With multi-document ACID transactions in MongoDB, you get the only database that fully combines the power of the document model and a distributed systems architecture with ACID guarantees. Through snapshot isolation, transactions provide a consistent view of data and enforce all-or-nothing execution to maintain data integrity, even across sharded clusters. 2. Description Now for a tr..
-
Spring SessionFramework/SPRING 2019. 8. 27. 21:48
1. Overview Spring Session provides an API and implementations for managing a user’s session information. Spring Session has the simple goal of free up session management from the limitations of the HTTP session stored in the server. Spring Session to manage authentication information in a web app. While Spring Session can persist data using JDBC, Gemfire, or MongoDB, or in-memory Redis. 2. When..
-
Stateful and stateless in ProtocolWeb/Protocol 2019. 8. 25. 08:19
1. Overview Network Protocols for web browser and servers are categorized into two types: stateless Protocol, and Stateful protocol. Both protocols are differentiated on the basis of the requirement of server or server-side software to save status or session information. 2. Comparisons STATELESS PROTOCOL STATEFUL PROTOCOL Does not require the server to retain the server information or session de..
-
Session and CookieWeb/Security 2019. 8. 23. 13:22
1. Overview 1.1 Session Storing user-related data across different requests. Server-side storage holding contextual data 1.2 Cookie Storing a small piece of the date on client-side Used to identify a client Used for passing some data from one servlet to another 2. Session If we access the JSP page for the first time, then a new session gets created by default. In most cases, a web server uses co..