Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > online ordering - cookies & failure

Reply
Thread Tools

online ordering - cookies & failure

 
 
Trevor
Guest
Posts: n/a
 
      10-04-2003
Problem
=======

Shopping cart sometimes fails. Customers complain. It appears to be a
cookie related problem.

Background
==========

ASP/Windows 2000, Cookie based, all financials handled via phone.

Shopping items at redburg.co.uk, but button links to merrows.

Cart at merrows.com - required for future use with different sites of
merchant account with Barclays, but the bank allows one URL per
account.

Code
====

-- basket id is stored on a DB and then all cart items are referenced
from that.
-- cookie holds only this id, URL, expiry

if cartEmpty then
getNewBasketShopperID
Response.Cookies ("shoppingcart")("BasketShopperID") =
thisBasketShopperID
thisExpiry = DateAdd("d",1,Now)
Response.Cookies ("shoppingcart").Expires = thisExpiry
else
thisBasketShopperID = Request.Cookies
("shoppingcart")("BasketShopperID")
end if


Request
=======

Has anyone got any ideas on the failures in the cart at merrows.com?
 
Reply With Quote
 
 
 
 
Adrienne
Guest
Posts: n/a
 
      10-04-2003
Gazing into my crystal ball I observed (Trevor) writing
in news: m:

> Problem
>=======
>
> Shopping cart sometimes fails. Customers complain. It appears to be a
> cookie related problem.
>
> Background
>==========
>
> ASP/Windows 2000, Cookie based, all financials handled via phone.
>
> Shopping items at redburg.co.uk, but button links to merrows.
>
> Cart at merrows.com - required for future use with different sites of
> merchant account with Barclays, but the bank allows one URL per
> account.
>
> Code
>====
>
> -- basket id is stored on a DB and then all cart items are referenced
> from that.
> -- cookie holds only this id, URL, expiry
>
> if cartEmpty then
> getNewBasketShopperID
> Response.Cookies ("shoppingcart")("BasketShopperID") =
> thisBasketShopperID
> thisExpiry = DateAdd("d",1,Now)
> Response.Cookies ("shoppingcart").Expires = thisExpiry
> else
> thisBasketShopperID = Request.Cookies
> ("shoppingcart")("BasketShopperID")
> end if
>
>
> Request
>=======
>
> Has anyone got any ideas on the failures in the cart at merrows.com?
>


Do some response.writes for the value of the cookie, with various levels of
privacy. The privacy level may be what's causing the problem.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
 
Reply With Quote
 
 
 
 
Trevor
Guest
Posts: n/a
 
      10-04-2003
Adrienne <> wrote in message news:<Xns940A1F7487070arbpenyahoocom@207.115.63.15 8>...
> Gazing into my crystal ball I observed (Trevor) writing
> in news: m:
>



> >
> > Request
> >=======
> >
> > Has anyone got any ideas on the failures in the cart at merrows.com?
> >

>
> Do some response.writes for the value of the cookie, with various levels of
> privacy. The privacy level may be what's causing the problem.


Can you expand on cookie privacy levels?

I do not what privacy levels are or how to access them.
 
Reply With Quote
 
Adrienne
Guest
Posts: n/a
 
      10-04-2003
Gazing into my crystal ball I observed (Trevor)
writing in news: om:

> Adrienne <> wrote in message
> news:<Xns940A1F7487070arbpenyahoocom@207.115.63.15 8>...
>> Gazing into my crystal ball I observed (Trevor)
>> writing in news: m:
>>

>
>
>> >
>> > Request
>> >=======
>> >
>> > Has anyone got any ideas on the failures in the cart at merrows.com?
>> >

>>
>> Do some response.writes for the value of the cookie, with various
>> levels of privacy. The privacy level may be what's causing the
>> problem.

>
> Can you expand on cookie privacy levels?
>
> I do not what privacy levels are or how to access them.
>


In IE6 , go to Tools -> Internet Options -> Privacy - Advanced

Other browsers, procedure is similar.

You should also read up on: http://www.w3.org/P3P/

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
 
Reply With Quote
 
Augustus
Guest
Posts: n/a
 
      10-05-2003

"Trevor" <> wrote in message
news: m...
>
> Has anyone got any ideas on the failures in the cart at merrows.com?


It doesn't matter that its "only" the shopper ID being stored in the
cookie... if the user has cookies disabled or their company's internet
security/firewall won't allow them, then the cart will not work for them

You have only 2 options here:
- Use an online ordering system that doesn't rely on cookies
or
- Go with what you got now, and deny some customers the use of your system

Clint



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Z-Ordering (Morton ordering) question nbigaouette C Programming 2 11-06-2009 05:26 AM
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
Special Ordering DVDs Online DigitalMusic DVD Video 1 09-26-2005 05:15 PM
Ordering PC Peripherals Online Flighty Computer Support 1 12-20-2003 01:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57