Re: no cookie on redirect : mod_auth_tkt2

2005-08-15 Thread Marc Lambrichs
Don't think that works, though. The only way I can get a cookie being delivered to the browser is by explicitly returning a html page containting a meta refresh tag using a subroutine like this: sub doRefresh { my ( $url, $delay, $cookie ) = @_; my $name = $cookie->name; my $value = $coo

Re: no cookie on redirect : mod_auth_tkt2

2005-08-14 Thread James Smith
Marc, You will need to get the cookie sent back to the browser, if you redirect to a URL with no domain in it - Apache "cleverly" notices this and performs the second request without going back to the browser. To force return to the browser include the domain in the URL $r->headers_out->set( Lo

no cookie on redirect : mod_auth_tkt2

2005-08-14 Thread Marc Lambrichs
I'm trying to build a mp2 handler to login using mod_auth_tkt2. I like the idea of probing if the client can support cookies, so tried to rebuild it. According to the cgi example there is some problem with setting the cookie on a redirect. The same problem - no probe cookie is set during the re