two things about the latest session module (0.99) (i had to pull axkit from cvs in order to get session to install properly):

1) url encoded sessions are DISABLED in Session.pm, if you want to use them you should uncomment line 763 in the sub initialize_url_sessions

__PACKAGE__->initialize_url_sessions($redirect_location) if ($Apache::Server::Starting);


2) i had strange problems with the redirection to the final url AFTER a successful login, specially when working in the lan with a fast machine/browser (my case is a apple dual g5 with firefox 1.0), i put in two slepp commands in the sub fixup_redirect, which resolved that (lines 477 ff)


    use Time::HiRes qw( usleep );
    $r->content_type('text/html');
    $r->status($status);
    $r->header_out('Location', $location);
    $r->header_out('URI', $location);
    usleep (10);
    $r->send_http_header;
    usleep (10);
    $r->print($message);

    $r->rflush;

now i'm ALWAYS redirected correctly. on slower machines or slower network connectivity this problem was rarely or never noticed. maybe it helps someone out there...

josef


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to