Login
Forgot Password?

OR

Login with Google Login with Twitter Login with Facebook
  • Join
  • Profiles
  • Groups
  • SuicideGirls
  • Photos
  • Videos
  • Shop
Vital Stats

x

fredonia, ny

Member Since 2003

Followers 50 Following 36

  • Everything
  • Photos
  • Video
  • SG
  • Blogs
  • Groups
  • From Others

Friday May 28, 2004

May 27, 2004
0
  • Facebook
  • Tweet
  • Email
So you would think the process of checking if someones username and password were valid while logging into a web site would be a simple one... after all... all you need to do is look up that username in the database and see if the password matches...

Enter object oriented programming in .net and 500 lines of code latter, one stored procedure, one sql server, several user defined classes, and xml file here and there and what do you get... a Boolean response of true when user test logs in with password asdf.

While I love object oriented programming sometimes I miss the good old days of scripting when

If request(username) = username and request(password) = password then
Return true
End if

Was all you needed... now my code looks more like this

cmdSql.Parameters.Add(New SqlParameter("@RETURN_VALUE", SqlDbType.Int, 4, "UserID"))
cmdSql.Parameters("@RETURN_VALUE").Direction = ParameterDirection.ReturnValue

only there are 500 lines like that... ahhh ...
puke eeek shocked surreal
VIEW 7 of 7 COMMENTS
syh:
*looks up from hydraulic diagrams of the Allison 540 trans*

*reads SQL lines*

My head hurts...

*goes back to reading hydraulic diagrams*
May 30, 2004
tiffanyjewel:
Not the 2 I would have picked but sure go for it smile
May 31, 2004

More Blogs

  • 01.25.04
    9

    Sunday Jan 25, 2004

    So much fun this weekend (and so much to drink) It was great seeing e…
  • 01.22.04
    4

    Thursday Jan 22, 2004

    drunk drunk drunk... drunk drunk drunk... so yeah im drunk... thats i…
  • 01.15.04
    27

    Thursday Jan 15, 2004

    Shamelessly promotes Sony S85 Camera Sale on ebay.com... Sabine: Shop…
  • 01.05.04
    33

    Monday Jan 05, 2004

    FUCK YOU COMCAST... start rant. most of my day today was waste…
  • 12.29.03
    15

    Monday Dec 29, 2003

    I had a great time at my Bday party. Quite a few people showed up, …
  • 12.26.03
    9

    Saturday Dec 27, 2003

    I finally have everything but my bed and computer moved... im very re…
  • 12.25.03
    4

    Thursday Dec 25, 2003

    This year was my first Christmas without presents, without parents, w…
  • 12.23.03
    1

    Tuesday Dec 23, 2003

    I am in love sadly its only with my new camera (Nikon D100 with AF-S …
  • 12.06.03
    20

    Saturday Dec 06, 2003

    From CNN.com "Following the attack, ground coalition forces searc…
  • 12.05.03
    3

    Saturday Dec 06, 2003

    drunk, drunk, drunk, drunk, drunk... damnit where is the drunk smily …

We at SuicideGirls have been celebrating alternative pin-up girls for:

24
years
11
months
25
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,700 SuicideGirls
  • 1,113,818 followers
  • 15,140,453 photos
  • 321,315 followers
  • 61,873,338 comments
  • Join
  • Profiles
  • Groups
  • Photos
  • Videos
  • Shop
  • Help
  • About
  • Press
  • LIVE

Legal/Tos | DMCA | Privacy Policy | Safety Policy | 18 U.S.C. 2257 Record-Keeping Requirements Compliance Statement | Complaint / Content Removal Policy | Contact Us | Vendo Payment Support
©SuicideGirls 2001-2026

Press enter to search
Fast Hi-res

Click here to join & see it all...

Crop your photo