Query in connection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • richasaraf
    New Member
    • Aug 2005
    • 23

    Query in connection

    Hi all,
    I have a query in ASP. I'm a beginner in ASP, and i have to solve a problem.
    Well it is as below:
    While making Connection in ASP to the Oracle Database, there is hardcoding done for schema, password... but i want to know whether does ASP has any such facility in which we can declare soem variable or similar like tht and accept the connection at runtime, so there is no need to change the password / username ... everytime there is a change.

    Please help me out...

    Thanks !
  • ilaiyaraja
    New Member
    • Jul 2006
    • 6

    #2
    Originally posted by richasaraf
    Hi all,
    I have a query in ASP. I'm a beginner in ASP, and i have to solve a problem.
    Well it is as below:
    While making Connection in ASP to the Oracle Database, there is hardcoding done for schema, password... but i want to know whether does ASP has any such facility in which we can declare soem variable or similar like tht and accept the connection at runtime, so there is no need to change the password / username ... everytime there is a change.

    Please help me out...

    Thanks !
    Pls gothrough these sites....

    http://www.connections trings.com/

    http://www.sqlstrings. com/

    Comment

    • bluebell66
      New Member
      • Aug 2006
      • 1

      #3
      Hello,This is Venkat here from Bombay.I am a developer in VB and to some extent comfortable with ASP.
      About your query,you could try defining variables in ASP using DIM statement
      Dim Ccn,Crs,Cuserna me,Cpassword..t hen open the table containing Username and Password information,use a do..while loop.. and assign the record to the variables..then check if the user input conforms...This should help you with dynamic authentication, irrespective of change of user information.
      Let me know if it works..you can email at venkyrr66@redif fmail.com
      Regards
      Venkat

      Comment

      Working...