%if(%equal(%client-method%,POST),
'%set(state,%client-body%%client-query%),
'%set(state,%client-query%))
%if(%not(%form(Name)),
'%redirect(bookm.html?%state%&Error=%url-encode("You must enter a name.")))
%if(%not(%form(Password)),
'%redirect(bookm.html?%state%&Error=%url-encode("You must enter a password.")))
%redirect(login.html?%state%)