The form sets session variables just fine, so long as I exclude the "activity" attribute telling the form where to redirect after submission.
This works: