You can user custom states, hidden variables, url parameters, or DB fields to store the “states” or temporary values that you page needs. Each option has its usefulness and pros & cons.