Click here to Skip to main content
14,883,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,
I am developing an online shopping Portal.in that i give the overview of the cart on my master page.
The static variables i have used in Class is not getting clear when another user logs in simultaneously from other computer hence showing incorrect data i.e the total amount of USER 1 is shown to USER 2
Posted
Updated 19-Aug-13 21:46pm
v3

1 solution

Use Sessions[^] instead of Static Variables.

Also go through Exploring Session in ASP.NET[^] to know more on Sessions and its use.

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