Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
physicalecon
74 days ago
|
parent
|
context
|
favorite
| on:
The Difference Between a Button and a Link
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?
angrybards
73 days ago
[–]
Yea I think a form that posts is the right tool for the job here. It is clearly unsafe semantics.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: