Disabling Javascript execution when loggining in
===

I have an `Index.php` page that launches a `JQuery` dialog (in `modal` mode). Dialog consists of a login form. When form gets submitted an `Ajax request` is sent to another php file (where the request gets handled). If request is succeded I just close the dialog.

I know I can use `<noscript>` tag. But what if I disable `javascript`, at any time I wish?. Is it possible to respond (redirect user to a login page) dynamically?

Thanks!