To-do

A to-do list with no database: it is kept in a signed cookie in your browser. Open this page in another browser and the list is empty.

Nothing to do. Enjoy it, or add something above.

A list in a cookie
set tasks to split remembered "todo" by "\n"

to save these
  set saved to ""
  for each task in these
    set saved to "[saved][task]\n"
  end
  remember "todo" as saved
end

if form "sent" is "add"
  add trim of form "task" to tasks
  save tasks
  go to "/todo"
end

A verb cannot change the page's names, but remember works anywhere, so save can store the list. The cookie is signed, so nobody can edit it by hand.