I am going to write a shopping cart.........
but dont know what shall i choose to store the temp information (cart items etc.),
database or session?
which one is better?
in what aspect?
have a look at
http://www.phpbuilder.com/columns/evert20000816.php3
Mark.
the problem is ......... which one performances better?
coz simple is not what i want. 🙂
fair enough. I think that the session method would be faster. it doesnt rely on any database queries so it should perform faster. I've used sessions for a shopping cart type system. It performs at a reasonable rate and I've no had any problems with it. So I would go with the session solution myself.
yeah, agree. coz it's based on text.
the only problem is security maybe.....