In general, this doesn't make sense.
When your second page is executing, the first page is gone. It simply no longer exists. There is no label for you to assign to.
Even if you could assign to the label, the previous request is over. The HTML (without the change) has already been sent to the user's browser.
one posssibility is you can use querystring like thing (or other state management concepts for sending data from page1 to page2)redirect the page and assign it to label.