Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ccook

  1. ccook

    Sql commands in asp 3.0

    Cool! like the code! But heres the story... (sorry i wasnt so clear) They want me to program the database access with a command object using parameters... for security. Im doing good so far... The code i first put in worked great. Again thanks so much!
  2. ccook

    Sql commands in asp 3.0

    thank you :) A coworker showed me :) I was looking for... <% Dim dbname, dsnpath Set Conn=Server.CreateObject(&quot;ADODB.Connection&quot;) dsnpath= &quot;Connection Stuff&quot; Dim Cmd Set Cmd = Server.CreateObject(&quot;ADODB.Command&quot;) Dim RS Set RS =...
  3. ccook

    Sql commands in asp 3.0

    i want to do the same with sql commands. (the only way in .NET asp) (almost)
  4. ccook

    Sql commands in asp 3.0

    Right, sorry about that... Heres some code... <% Dim Conn, dbname, dsnpath Set Conn=Server.CreateObject(&quot;ADODB.Connection&quot;) dsnpath= &quot;my pass/lgin&quot; Conn.Mode = 3 Conn.Open dsnpath Strsql= &quot;My sql string &quot; Set rs_admin=Conn.Execute(strsql) 'Reset of...
  5. ccook

    New to ASP - Need help with login

    You could use session variables. That way you could also know if the user is logged in elsewhere. Session(&quot;password&quot;) = request.form(&quot;formfieldpassword&quot;) however you must have your global.asa setup right ;)
  6. ccook

    Sql commands in asp 3.0

    Hello, First off, im an intern not a fultime programmer... Well anyhow, i wrote some code with the typical use of an sql string. The string has data from the user in it. I know this has a threat of sql injection. I was told to use sql commands. But, as far as i knew that was a .NET...

Part and Inventory Search

Back
Top