Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: Odd cookie problem

date posted 11th January 2007 14:00

Basket works ok for me, but why do that redirect? It would be simpler
and more elegant to do your update by calling the relevant functions in
line with the page. Perhaps some people have security software than
blocks redirects?

Also this means that when you click through to the payment page with
blank details, protx throws an error but you can't get back to update
it, because the back button takes you to another blank redirect that
shunts you straight back to the payment page with the error - game over,
no sale.

Otherwise I love the design of the site. Soooo green! It looks lovely

All the best,

Steve

Nick Hill wrote:
>
> Hi all - wonder if anyone can shed light on this?
>
> I'm having problems with a website I've done:
> http://www.perfectskindirect.co.uk/. Specifically, I'm not having any
> problems with it at all, but the client has said that people have been
> emailing her (a couple of times a day recently) to complain they can't
> add anything to the basket.
>
> I've tested it successfully on IE6, IE7, Safari, Opera 9 and Firefox
> 1.5 (Win/Mac); friends of mine have also confirmed it works on Vista
> (IE7/FF) and FF2 on XP. It even (just about) works on IE5.2 on the
> Mac. The only problem I found was when testing it with a copy of IE6
> that had been installed after IE7 - clicking the button does nothing,
> for some reason (cd-wow and ebuyer also do nothing, strangely). When
> testing it on a machine which only had IE6 on it, it works. I'm not
> too worried about this scenario, since presumably anyone with this
> setup has done it deliberately, and will have IE7 to hand anyway.
>
> What should happen is when you click "Add" on a product it briefly
> takes you to a blank "add to basket" page, which updates the cookies
> then fires you back where you came from (Ajax would have been nice,
> but was a bit of a tall order for this project).
>
> I can't figure out what it might be that these customers are doing,
> and they're not able or willing to detail what OS/browser they're
> using, although I think they're on Windows. I've been through the logs
> and most seem to be using IE6, IE7, Firefox or Safari. Some (around
> 3%) use AOL 9 though, which I haven't got - if you have this would you
> mind giving it a go?
>
> For those who are still reading, the PHP code that sets the cookie is
>
> setcookie('psdbasket', $r, time() + (60*60*24*365), "/",
> ".perfectskindirect.co.uk");
>
> where $r is a semicolon-delimited list of product ID numbers.
>
> If anyone can "break" this (steady on, now) and tell me what they did,
> I'd be hugely grateful!
>
> Cheers
>
> Nick
>



Messages by Day
January 31st 2007
January 30th 2007
January 29th 2007
January 28th 2007
January 27th 2007
January 26th 2007
January 25th 2007
January 24th 2007
January 23rd 2007
January 22nd 2007
January 21st 2007
January 20th 2007
January 19th 2007
January 18th 2007
January 17th 2007
January 16th 2007
January 15th 2007
January 14th 2007
January 13th 2007
January 12th 2007
January 11th 2007
January 10th 2007
January 9th 2007
January 8th 2007
January 7th 2007
January 6th 2007
January 5th 2007
January 4th 2007
January 3rd 2007
January 2nd 2007
January 1st 2007


Messages by Month
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000