You can set a blank comparison in your dynamic plugin server behavior to specify a default.
You would have to redirect after setting the session variable to prevent the resubmit form error message. Use the server behavior Webassist->Utilities->Server Redirect and set it to the same trigger as your set session variable and the current page name. Just make sure the redirect is below the set session variable code.