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

  • 10.05.04
    4

    Tuesday Oct 05, 2004

    Read More
  • 09.30.04
    9

    Friday Oct 01, 2004

    Today after class I went to the equipment check out station. I had a …
  • 09.26.04
    16

    Monday Sep 27, 2004

    I have always liked projects. Todays project, build a sex swing. Loos…
  • 09.22.04
    16

    Wednesday Sep 22, 2004

    I just spent the last 7 hours test driving cars, and I have my list n…
  • 09.18.04
    14

    Saturday Sep 18, 2004

    Is junk food the next tobacco? In 2000 435,000 people died from to…
  • 09.15.04
    8

    Thursday Sep 16, 2004

    I miss Clinton. Despite his abundant flaws and that stain on the blue…
  • 09.14.04
    14

    Wednesday Sep 15, 2004

    Update I just finished building this page and it works... come on…
  • 09.11.04
    6

    Sunday Sep 12, 2004

    I just got home from shooting a three girls set with Bathory, Les, an…
  • 09.09.04
    9

    Thursday Sep 09, 2004

    Read More
  • 08.27.04
    24

    Friday Aug 27, 2004

    I have one question for each candidate I would like answered before I…

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

24
years
4
months
0
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,628 SuicideGirls
  • 1,113,818 followers
  • 15,032,583 photos
  • 321,315 followers
  • 61,651,284 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