No matter what data will be transferred to the next page, you must also return it back to change the user interface as it should be.
This can be done using cookies, or it can be done using the outgoing mail / server logic. Just pass the values ββto the second page, and when the user wants to return, just be sure to pass them back and change the interface depending on the values. You can even use the session for this, you would like to, but I think it might be redundant if this is the only place you need it.
Metropolis
Metropolis
source share