Click here to Skip to main content
15,920,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friends.

I have one question.

1. Is it possible if I add some data in cache object with expiration policy from one machine(one PC) that will display to another machine that is placed in same network?

As per my knowledge, this is not possible. But my client have faced this problem. I am adding product data in cache object when user click add to cart button. My client has checked this in different machine and he is facing this problem.

can anyone tell me why this happens? what should be an issue?

regard
Imrankhan
Posted

1 solution

If you are adding this into the Cache, then it will be visible to everybody using the same application. If you want to limit it to a user, then you should be looking at the Session object.
 
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