p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

proasp_howto thread: Shopping Basket

Message #1 by "Rob Hill" <rob@t...> on Fri, 24 Mar 2000 10:53:58
Session objects are ok but you want to be careful with memory
considerations.  Aside from win2k/iis5(which I don't know about), session
variables are sometime considered evil since they do take up memory and slow
down the site.

Personally, I don't see it as much of a problem.  At my site, I use a combo
of session variables and hidden fields for quantity.

Good luck.

Mehul Harry
Software Developer

> -----Original Message-----
> From: Brandon Brownlee 
> Sent: Friday, March 24, 2000 3:37 AM
> To: How To
> Subject: [proasp_howto] Re: Shopping Basket
> My opinion :)
> Cookies would be the most efficient way, from what I understand. The only
> problem there is that your users would need to accept cookies to
> enable them
> to shop. This could be a bad thing as some are wary about cookies.
> Other option is to store the information in the Session Object,
> unfortunatly
> I have never used it and only know it in theory. Haven't had any real use
> for it yet. This may be a better answer to your dilema.
> If you're not concerned with Cookies, I"ve seen some JavaScript shopping
> baskets already made at http://www.infohiway.com/javascript/indexf.htm
> The other thing I can think of is to use the database for everything, and
> make a script that 'cleans' the database of orders that are older
> then say,
> 3 days or sompin like that (or whatever). This shouldn't be too
> difficult to
> setup either, and eliminates the whole cookie idea.
> G'luck,
> Brandon
> ----- Original Message -----
> From: "Rob Hill" <rob@t...>
> To: "How To" <proasp_howto@p...>
> Sent: Friday, March 24, 2000 10:53 AM
> Subject: [proasp_howto] Shopping Basket
> > We want to set up a shopping basket arrangement on our medium traffic
> site.
> > We don't really want to fill up the database with picked items until the
> > user has confirmed their whole order (and given payment details) and are
> > wondering what is the best way to do this?
> >
> > Has anyone set this sort of thing up (I am sure it has been done many
> times
> > in many ways), and if so what are the recommendations and problems
> > encountered?
> >
> > Many Thanks.
> >
> > ---
> > You are currently subscribed to proasp_howto.
> $subst('Email.Unsub')
> >
> >
> ---
> You are currently subscribed to proasp_howto.

  Return to Index