Excerpt from the assignment given as part of the "server-side programming" module:
If the username and password are not correct, open a window, displaying “The login failed!”. Also display whether username or password is incorrect.
To all non-programmers on my friends list: can you figure out why this would be a bad and wrong thing to do? 8^]
Tags:
From:
no subject
"Also display whether username or password is incorrect."
I realise now the whether means "which one is wrong", but it could mean display if the username is wrong, or if the password is wrong (i.e. which one is wrong does not matter).