⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’
Excalidraw Data
Text Elements
client
server
How session works?
send to the sever {username: Tom, password:123}
The server generates a random unique session id, for example
(1){sessionID: xkoa0k, max-age: 60}
send it to the client through the method ‘setCookie’
(2){
sessionID: xkoa0k,
max-age: 60
}
(3){
sessionID: xkoa0k,
max-age: 60
}
From this point on, all requests sent by the browser will carry this session ID.
Until it invalidates, for instance, the user turns off the browser, or
the sessionId invalidates