Menu

#2 Deal with redirects to set cookies

open
nobody
None
7
2000-11-17
2000-11-17
Gisle Aas
No

It is common for servers to give redirect to the same
page in order to force cookie headers to be set.
LWP end up beliving this is a redirection loop and does
not send the second request.

Discussion

  • Nathan Bailey

    Nathan Bailey - 2001-06-21

    Logged In: YES
    user_id=141197

    If you're going to deal with this, it would be nice to
    somehow allow similar support for META REFRESH-style loops
    for the same purpose (eg. Netscape's web client for its
    calendar server does this)

     
  • Kim Eric Taylor

    Kim Eric Taylor - 2003-04-16

    Logged In: YES
    user_id=173885

    I found the easiest thing was simply don't deny redirects to
    self. Allow reasonable redirects to self limited only by the
    loop counter (13 max.)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.