Link Details

Link 13992 thumbnail
User 194680 avatar

By bonlebon
via php-mag.net
Published: Feb 19 2007 / 22:41

A login box is a couple of text fields and a button. A ten-minute job, right? Well, coding the first version probably is, but does it work? Easy - fire up the browser, enter a username and password and click Submit - Success!! Really? Did it set the cookie or was it set from my last test? OK, try again. Clear my cookies, log in again, and ... it fails! Oh! I'm already logged in - OK, clear the cookies, clear the database session, log in, and check the cookies.
  • 12
  • 0
  • 2834
  • 3

Comments

Add your comment
User 200810 avatar

3monkeys replied ago:

4 votes Vote down Vote up Reply

"Code Monkey think maybe manager oughta write goddamn login page himself." - Jonathan Coulton

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (12)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax