G
groupie
Hi,
If cookies are not enabled, can I prevent the logon form being
displayed? i.e. all I want is a message telling the user to enable
cookies.
e.g.
<body>
<script type="text/javascript">
if (!testSessionCookie ())
document.write("cookies disabled. please enable");
</script>
<noscript>
<p>Javascript is not enabled on your browser. Javascript and Session
Cookies need to be enabled to login.</p>
</noscript>
<form id="login" name="login" method="post" action="login_db.asp">
<td>Email address:</td>
<input name="email" type="text" id="email" size="50" />
<td>Password:</td>
<input name="pword" type="password" id="pword" size="40"</td>
</form>
If cookies are not enabled, can I prevent the logon form being
displayed? i.e. all I want is a message telling the user to enable
cookies.
e.g.
<body>
<script type="text/javascript">
if (!testSessionCookie ())
document.write("cookies disabled. please enable");
</script>
<noscript>
<p>Javascript is not enabled on your browser. Javascript and Session
Cookies need to be enabled to login.</p>
</noscript>
<form id="login" name="login" method="post" action="login_db.asp">
<td>Email address:</td>
<input name="email" type="text" id="email" size="50" />
<td>Password:</td>
<input name="pword" type="password" id="pword" size="40"</td>
</form>