How to load client's variables after joining a session

Thank you for your answer. I’ve tried with game instance but it doesn’t succeed. I’ll explain what is happening exactly.

For example, we have two players, so

Server has a game instance where name = “gg”.

Another player (before joining session) also has a game instance where name = “John”

but after joining session, there is only one game instance left and whenever I called a variable from game instance, it answers “gg”.

I really want to know is how can I save the variable set to “John” and load it after joining session. Or any other ways to solve such problems.