Ask a Question related to ASP.NET General, Design and Development.
-
Kevin Spencer #1
Re: BEST WAY TO implement shopping basket
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
>
>
>
Kevin Spencer Guest
-
How to implement a MXP
Like everything, this started simply. I want to provide breadcrumb navigation to my site. Thus after a little research I found two references:... -
Shopping Basket Component
Hi, I'm currently designing a shopping basket component and I could do with a bit of advice. I want to encapsulate as much of the shopping... -
Need Direction on WHAT to Implement...
Please understand that I am not asking HOW to do something - but, rather, I just need some advise on what "technology" or method I should... -
Which script of a caddy / shopping cart / basket do I have to choose ?
Bonjour I'm looking for a script of a caddy / shopping cart / basket in php/mysql - multilangage - Easy to integrate in an existing interface... -
shopping cart shopping
Im looking to buy some ecommerce software to hook up to an HTML site. The company will have around 350 products or so to start out, and will be...



Reply With Quote

