I have followed the Cookie Mod to install on my site, but have a slight problem. Because the way my site is setup, I dont use html_login_form to login. I have a static html page that I have a login coded into. So on my index.html page, I just have this:
<input type=hidden name="db" value="default">
<input type=hidden name="uid" value="">
<font size=-2>Username</font><br>
<input type="TEXT" name="userid" size="10"><br>
<font size=-2>Password</font><br>
<input type="PASSWORD" name="pw" size="10"><br>
Remember password? <INPUT type="checkbox" name="auth_remember_login">
<br>
<input type="SUBMIT" name="login" value="Logon">Of course the Cookie mod doesnt work there though because it seems to be coded for use within the script itself and not on static pages. Does anyone know how to fix this for it to be able to work on a static page logging into the db instead of logging in FROM the db?
Code:
<form action="http://www.wdu.net/cgi-local/dbman/db.cgi" method="post" name="form1" OnSubmit="return IsValid()"> <input type=hidden name="db" value="default">
<input type=hidden name="uid" value="">
<font size=-2>Username</font><br>
<input type="TEXT" name="userid" size="10"><br>
<font size=-2>Password</font><br>
<input type="PASSWORD" name="pw" size="10"><br>
Remember password? <INPUT type="checkbox" name="auth_remember_login">
<br>
<input type="SUBMIT" name="login" value="Logon">