Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
physicalecon
· 4mo ago · 0 comments
Imagining you have a navigation to “/logout” that server side invalidates your token and redirects to home, would you implement that as a link? If so, what happens if someone tries to “open in a new tab” it?
Comments
[–]
angrybards
4mo ago
Yea I think a form that posts is the right tool for the job here. It is clearly unsafe semantics.