Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
shopping cart session issue
Abdul Shakoor
Jul 15 2015 2:24 AM
640
Reply
my shopping cart adds items to cart from different systems. can any one help me on this.
Other users cart which is added from other system is visible in my system.
Here is my shopping cart method
static ShoppingCart() {
if (HttpContext.Current.Session["ASPNETShoppingCart"] == null) {
Instance = new ShoppingCart();
Instance.Items = new List<CartItem>();
HttpContext.Current.Session["ASPNETShoppingCart"] = Instance;
} else {
Instance = (ShoppingCart)HttpContext.Current.Session["ASPNETShoppingCart"];
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
how to display continuous input in windows form.
object reference cannot set to the instance of object?