|
|
|
|
|
by recursivedoubts
676 days ago
|
|
This is a very good example where the HTML extensions that alex proposed here: https://www.youtube.com/watch?v=inRB6ull5WQ (TLDW: allow buttons to make HTTP requests; allow buttons & forms to issue PUT, PATCH & DELETE; allow buttons, forms & links to target elements in the DOM by id instead of only iframes) would improve the web platform. You could have a stand-alone logout button that issues a DELETE to /session or whatever. Nice and clean. |
|