▲ | devnull3 2 days ago | |||||||
Cookie is what we make of it. For browser, its opaque data anyway. So, when /upload is requested, the backend in response sets a cookie with a random uploadId (+ TTL). At the backend, we tie sessionId and uploadId. With every step which is called, we verify sessionId and uploadId along with additional state which is stored. This means even if the form is opened on a different tab, it will work well. | ||||||||
▲ | thefreeman 2 days ago | parent [-] | |||||||
Thats... basically what the guy did? He just put the sessionId in the form data instead of a cookie. | ||||||||
|