handle_redirect
handle_redirect(request, finalredir, absolute);
handle_redirect(request, userredirecturl, 0);
handle_redirect(request, NULL, 0);