Using Session Variables is the way I've done it before. Using a Database to
store Cart data is tricky, as you have to have some method of removing Cart
data that is no longer useful. It also uses more resources. However, the
Cart data will not be lost. The disadvantage of using Session is, of course,
that if the Session times out, they lose their Cart data. Cookies pose the
same basic problem as Sessions. You don't want the Cookie to last any longer
than the current User Session, so if the Session times out, the Cookie is
lost.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.

"DAC" <tecnolog> wrote in message
news:ux9fbv1WDHA.1004@TK2MSFTNGP12.phx.gbl...
> Hello,
>
> I would like to know what is the best practice to use when implementing a
> shopping basket in ASP.NET.
>
> Do you store information on SQL Server, Cookies or Session Variables?
>
> I've seen some examples, but I want to be sure what the "real world" does.
>
> Thanks in advance,
> Daniel
>
>
>