"Greg White" <[EMAIL PROTECTED]> writes: > Our server redirects (302) the client to a page which sets a cookie > and then redirects the client back where they came from. This works > fine with all browsers we have tested against, but not with > LWP::UserAgent because it traps for this situation and considers it > a redirect loop. > > We do this as a way to verify that the user is allowing us to set > cookies. If they don't, we want to let them know that they can't > proceed. > > It would be nice if UserAgent had a method which lets users turn the > checks for redirect looping on or off. Right now, it looks like I > am going to have to copy the source and make my own version (thanks > for making it open source!). This is a known problem. If you can come up with a good fix for this problem consider sending it to this list so it can be incorporated in later LWP versions. Regards, Gisle
