Bwig Zomberi wrote on 02 sep 2010 in
microsoft.public.inetserver.asp.general:
Use session variables to maintain login details. Use response.cookies to maintain other details such user preferences, shopping cart details...
Why?
It seems ridiculous if [as you should] you want to keep those details only for the session.
Shopping cart details are part of the session and can better be kept on the server to prevent malicious use.
Preferences could be kept in persistant cookies between sessions, if you want to save them for future use, however since you would keep login details on a serverside database, they are better kept in that database, to prevent another user on the same browser to be presented with another's preferences, and the same user on another browser or pc without his [or her's] preferences.
So all in all, no, don't use cookies in a shopping cart environment, but for the asp automatic session.id cookie.