Click here to Skip to main content
15,892,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i set variables (unique to the logged in user) in the master page to be used throughout the website by setting the virtual path to the master page in each relevant page. when i open a 2nd instance of the same website these variables are active there. what am i doing wrong?

i read the data from files once when the user logs in and only open the file/s again if the user changes the data.

i was expecting these variables to be on the client-side but they look like they are on the server? i this possible.

What I have tried:

i have attempted to source information regarding client-side data but i am at a loss.
Posted
Updated 16-Oct-17 22:20pm
Comments
GKP1992 17-Oct-17 2:22am    
Have you considered using sessions instead of variables?

1 solution

It sounds like you're using static variables which all users share. If you want per-user data you need to use the Session.

[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900