Nope, you should move the handling out of here to somewhere else (I'd do it at the application level).