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^]


From: [identity profile] markadm.livejournal.com


I interpreted the meaning of this differently:
"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).
.

Profile

spudtater: (Default)
spudtater

Most Popular Tags

Powered by Dreamwidth Studios

Style Credit

Expand Cut Tags

No cut tags