I am creating an app that I need to pass a value around, this will be equivalent to a username, where the first part of the wizard will create the username and this username will be passed between views to fill out the rest of the form.
What are the best practices to pass this value around, is it pass it as part of each view form submit (make it a hidden field) of each form or what is the best way. Storing this in the session is not idea as I do not want to lose the value after session time out.
I just like to understand what the best practices are. I also would not like this value to be visible to the user (not part of querystring)
EDIT:
for clarity, i already use database to persist the state of my data, I am talking about passing ONE field around so that I can load/save rest of the data to the same ID.