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
  • 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

  • 11.03.04
    8

    Wednesday Nov 03, 2004

    were fucked... today i spent most of my day at canada's citizenship a…
  • 11.02.04
    10

    Tuesday Nov 02, 2004

    So we havent lost yet but I a suspect that Kerry will lose and we as …
  • 10.30.04
    6

    Saturday Oct 30, 2004

    I was filling out an online form today that had one of those security…
  • 10.27.04
    5

    Thursday Oct 28, 2004

    Read More
  • 10.25.04
    5

    Monday Oct 25, 2004

    Read More
  • 10.19.04
    7

    Tuesday Oct 19, 2004

    the WV Lupo gets 99/mpg in real life driving. The Hummer gets 10/mpg …
  • 10.17.04
    6

    Sunday Oct 17, 2004

    So I am now a precinct caption for the John Kerry for President Campa…
  • 10.15.04
    2

    Friday Oct 15, 2004

    Read More
  • 10.10.04
    12

    Monday Oct 11, 2004

    Read More
  • 10.06.04
    8

    Wednesday Oct 06, 2004

    Read More

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

24
years
3
months
30
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,628 SuicideGirls
  • 1,113,818 followers
  • 15,032,101 photos
  • 321,315 followers
  • 61,650,203 comments
  • Join
  • Profiles
  • Groups
  • Photos
  • Videos
  • Shop
  • Help
  • About
  • Press
  • LIVE

Legal/Tos | DMCA | Privacy 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