I know some experts suggest not to store memory-consuming
object(though those objects may need to be created very frequently)in session.
Some people tend to use very few session variables for the
whole web site per user.
Shopping Cart is a very special user status, could
anyone tell me usually how do programmers store the
status of shopping cart? Do they use session to store
the whole shopping cart? Since shopping cart can be
very big (a typical cart include , I am suspecting that storing shopping cart in session can eat a lot of server
memory.
What do you guys think? What's your idea of designing
an efficient shopping cart and efficient way to update a
shopping cart?
Thanks for any tips.
object(though those objects may need to be created very frequently)in session.
Some people tend to use very few session variables for the
whole web site per user.
Shopping Cart is a very special user status, could
anyone tell me usually how do programmers store the
status of shopping cart? Do they use session to store
the whole shopping cart? Since shopping cart can be
very big (a typical cart include , I am suspecting that storing shopping cart in session can eat a lot of server
memory.
What do you guys think? What's your idea of designing
an efficient shopping cart and efficient way to update a
shopping cart?
Thanks for any tips.