How to persist informations on MasterPage after page refresh

Hello,
I'm starting to develop a project using ASP.NET.

Initially our application displays a login screen (Start.aspx) for user authentication.

After logging in, the user is directed to the default page of the application. This page (Default.aspx) is the daughter of a master page (Root.Master).

As our company is a service provider, we serve many customers then, after loading the Default.aspx page, our user must select which client he will perform his duties.

After the user selects his client, Default.aspx page sets the text property of some existing Labels in Root.master (such as login time, source IP, user id, customer id).

Everything is good so far. The problem occurs when our user presses the F5 key, or run a browser refresh. We lost the information that was displayed on Root.master.

How to persist this information after Refresh?

Grateful.

ElectivoJr
ElectivoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
you need to use a session state, cookie or hidden field your choice or a combination of the above to keep state information
https://msdn.microsoft.com/en-us/library/75x4ha6s.aspx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ElectivoAuthor Commented:
Solved the situation with the help of the article suggested by David.
ElectivoAuthor Commented:
No additional comments.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.