Disabling Javascript execution when loggining in
<p>I have an <code>Index.php</code> page that launches a <code>JQuery</code> dialog (in <code>modal</code> mode). Dialog consists of a login form. When form gets submitted an <code>Ajax request</code> is sent to another php file (where the request gets handled). If request is succeded I just close the dialog.</p>

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

<p>Thanks!</p>
