Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when the multiple users using same mvc application request the same method and the coming data from db is binding to the viewmodel the data is exchanging for multiple user .
can i use veiwdata for display the data in view in case multiple users ?

view data varies value based on multiple users or constant for individual user?

need solution for this?
Posted

1 solution

For every request new instance is generated, meaning - for multiple users multiple instances are created and web server does that as it is multi-threaded.

You can user viewdata to display the data.

-KR
 
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