Redirect, write to db