Is there an existing method to store a large set of states (900+ flags/numbers) for a single form page that it can persist for several days?

Is there an existing method to store a large set of states (900+ flags/numbers) for a single form page that it can persist for several days?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)