Re: HTTP::Cookies inquiry

S. Morgan Friedman (morgan@westegg.com)
Wed, 18 Aug 1999 02:29:47 -0400 (EDT)


	hi jay and all! i just wanted to say that, with
	your help, i solved the problem! yay! :-) the
	problem was not a hidden field (i had already
	found those:-) but rather the submit field,
	which i ignored but it had a value that had
	to be included. it works like a charm now.
	thanks so much :)

	morgan

Failing not to be unsuccessful in not being unclear, Jay J wrote:
| 
| ----- Original Message -----
| From: S. Morgan Friedman <morgan@westegg.com>
| To: <libwww-perl@ics.uci.edu>
| Sent: Tuesday, August 17, 1999 2:18 PM
| Subject: HTTP::Cookies inquiry
| 
| 
| [snip]
| > however... i then try to fill out the form
| > on this page. whenever i do this, their
| > server returns a blank page. from my attempts
| > to place a cookie on the earlier pages, i
| > discovered that their server responds to
| > requests when their is no cookie by just
| > returning a blank page -- hence i know that
| > this is a cookie problem. i have no idea
| > what i'm doing wrong, here is the code,
| > it is very straightforward.
| >
| > please let me know if you have any clues.
| > i'm clueless. thanks! :)
| >
| > steven morgan friedman
| 
| use LWP::Debug qw(+);
| 
| .. will produce volumes of debugging information, and may prove useful.
| 
| If that doesn't solve things, there's a good possibilty that this crafty
| site is checking for a 'referer' .. in which case I use something like this:
| 
| $req->referer($referer) if ($referer_switch);
| 
| Using a switch is obviously not required.. but I use it to avoid
| unnecessarily telling Site B that I just came from Site A.
| 
| If all else fails, I'd make certain you haven't missed any hidden fields. By
| using cookies, referer and returning hidden fields I haven't found a site
| that won't eventually relinquish the requested document ;-)
| 
| -Jay J
| 
| [-- A=!(A) unless ($aristotle); --]
| 
| 



--
______________________
steven morgan friedman
http://www.westegg.com/morgan
"I have always imagined that paradise will be a kind of library."