473,508 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Query in connection

23 New Member
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 !
Aug 8 '06 #1
2 1340
ilaiyaraja
6 New Member
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.connectionstrings.com/

http://www.sqlstrings.com/
Aug 8 '06 #2
bluebell66
1 New Member
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,Cusername,Cpassword..then 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@rediffmail.com
Regards
Venkat
Aug 9 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1822
by: Phil Powell | last post by:
I have a very simple mySqlQuery object that takes two parameters: 1) the string query 2) the db connection resource I tested and was certain everything is passing correctly (the string query...
9
11750
by: shank | last post by:
Per a previous suggestion, I'm trying to use a parametized query in Access 2002. The query functions properly in Access. Now I'm trying to call it from ASP. I'm using code I found at...
3
1935
by: Nick Truscott | last post by:
<? // scoreinput.php - input a match score when match selected from list ?> <html> <head> <basefont face="Verdana"> </head> <body>
0
1664
by: ChangAya | last post by:
I use binary log on mysql system. Yesterday i found some hacking attempt on my machine. ( I found some unknown queries on binary log) But i don't get any information about hacking query...
1
9085
by: muelli75 | last post by:
Hi! Im getting insane by solving a problem .... I try to define a function which uses a code-snippet from another file. My base are the codes from the great book "WebDataBase-Book by H....
2
2377
by: Mattyboy | last post by:
Guys I have built a database with saved queries that runs fine in Access but when I call it from the web using ASP, an exception occurs. I have tried multiple ways of testing the databases with...
19
59895
by: bdt513 | last post by:
I am trying to extract the values from a query using VBA. Specifically, I want to concatenate all the values of the "rosEmail" field from query "qselRosterEmailList" into one string (strEmails). I...
7
2201
by: stig | last post by:
hi. coming from postgresql, i am used to textual references to most of the things i do with the database. i feel a little lost with all the graphical. i have few questions regarding MS SQL 2000...
1
3560
by: Pradeep83 | last post by:
Hi All Problem : I am unable to retrieve the data from the table in postgres database using C application which i have written in solaris os. Query: How to check whether connection is there...
1
1770
by: joefrost | last post by:
I have the following SQL query that keeps giving me a runtime error 800a0401when running through an asp page. The query is below: SELECT (Sum(Abs(DSum("Cath_type","tbl1a_IC")))/10*100) AS...
0
7120
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7380
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5050
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.