fixed redirection issues on setting session date