Maybe I am missing something but the $sessionid part of the URL doesn't seem to come from a cookie. It seems to be autogenerated on arrival at www.amazon.com. The 404 might be generated by using an unacceptable sessionid. I looked at my amazon.com cookie and the value was different to the sessionid in my urls.
From where I stand it appears like the following is the best approach to take is to go in through the front door at http://www.amazon.com/, get redircted to http://www.amazon.com/exec/obidos/subst/home/home.html/xxx-xxxxxxx-xxxxxxx (where x's are a valid sessionid) and use HTML::Parser and LWP::UserAgent to follow the links through to where you want to go. I know it is a bit of work but I don't see a way around it.
--blm-- If you don't like this post can you please /msg meIn reply to Re: Cookie Not Being Set
by blm
in thread Cookie Not Being Set
by jonjacobmoon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |