Y
Hacker News
new
|
ask
|
show
|
jobs
by
physicalecon
129 days ago
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?
1 comments
angrybards
129 days ago
Yea I think a form that posts is the right tool for the job here. It is clearly unsafe semantics.
link