Posted by gmdunn on 02/02/06 06:54
You'll want to set them through one page that will set a cookie (to
anything) and the check if the value is set for that cookie on the
login page so you can display your error message.
Javascript as JO recommends would work well without having two steps
but what if they have javascript disabled?
As long as the login form is a seperate page you could always set the
initial cookie at index.php.
Or alternatively you could set it at the login form and generate the
error after they attempt to log in.
But really sessions should let you get around this requirement
Geoff
---
http://www.quicksilverforums.com
http://www.misterpink.com.au
Navigation:
[Reply to this message]
|