Ask HN: Why do most sites still not track state well?
https://news.ycombinator.com/item?id=21647712I have a bit of frontend experience and a general understanding of how backends work, but I guess the "glue" layer between them must be more difficult than I think. Why is it that when I need to reset a password, or log in or out, the site that I'm interacting with is unable to handle even basic state? I'm not blocking cookies, so it can't be that.
Can't the page/endpoint that I left in order to reset my password be encoded into the password-reset URL, so that after my password has been reset I'm brought back to where I was?
Password resets aren't the only manifestation of this, but they're the most obvious.