Link Details

Link 13992 thumbnail
User 194680 avatar

By bonlebon
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
  • 2855
  • 3
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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java