-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Jan 16, 2007 at 04:45:10PM -0800, Will Fould wrote: > I have a strange issue with a particular script that sometimes (often) > generates a 302 to another script without a clear reason why. > > Oddly enough, I simply placed a few "warn('blah')" [...] [it] seems to no > longer happen !!
Heh. Tough riddle, if you tell us so little ;-) A timing dependency, aka race condition comes first to mind. Then it might be as well some undefined variable which gets somehow straightened on issuing the warn. Or small little green gremlins which run away in horror when they hear the log files churning. How does the redirect get generated in the script? I mean: at which places does the script generate the 302 response and where does it come from? (you might instrument those places to log a stack dump to shed some light on the issue). Regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFFrdCIBcgs9XrR2kYRAnMaAJ0csiMgyXKDwd+RwuoUwcIxxFOTZQCfcMSz pKo4+71MJ4jYjsOk/BLU+JA= =hFej -----END PGP SIGNATURE-----