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.01.06
    8

    Monday Oct 02, 2006

    I am back
  • 07.15.06
    2

    Sunday Jul 16, 2006

    Still In Europe. I will be home August 18th and will be around again …
  • 05.26.06
    4

    Saturday May 27, 2006

    In Germany drinking beer.
  • 05.17.06
    2

    Thursday May 18, 2006

    In Amsterdam. Alive. More to come latter.
  • 04.04.06
    8

    Wednesday Apr 05, 2006

    Read More
  • 01.21.06
    5

    Saturday Jan 21, 2006

    Party at Bower Coop Tonight for those interested. All are welcome, ev…
  • 12.18.05
    23

    Sunday Dec 18, 2005

    Bower Coop currently has two openings starting December 20th. If you …
  • 07.27.05
    23

    Wednesday Jul 27, 2005

    bower is definatly the most interesting place i have ever lived. i fe…
  • 06.27.05
    17

    Tuesday Jun 28, 2005

    Read More
  • 06.05.05
    4

    Sunday Jun 05, 2005

    prom was awsome. more latter. after sleep.

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

23
years
10
months
1
day
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,596 SuicideGirls
  • 1,119,978 followers
  • 14,934,393 photos
  • 321,315 followers
  • 61,427,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 | Contact Us | Vendo Payment Support
©SuicideGirls 2001-2025

Press enter to search
Fast Hi-res

Click here to join & see it all...

Crop your photo