Hi,
I have been trying to find a way to hide the username and password of a connection string to a SQL Server database.
In the process, I have found myself utterly confused.
I have database connections within <%....%> tags (which I understood to be ASP) and within <SCRIPT language="vbscript">....</SCRIPT> tags (which I understood to be VBscript)
I have found that of all the ways I have tried (cookies, session variables, include files) they work with one or the other but never both.
Is there something I can use to store the values of the username and password entered and then include them in the string nomatter where the database connection is made?
It would be really handy if I could reference the session variable from within the <SCRIPT>....</SCRIPT> tags but that doesnt seem possible.
Thanks?
jan
I have been trying to find a way to hide the username and password of a connection string to a SQL Server database.
In the process, I have found myself utterly confused.
I have database connections within <%....%> tags (which I understood to be ASP) and within <SCRIPT language="vbscript">....</SCRIPT> tags (which I understood to be VBscript)
I have found that of all the ways I have tried (cookies, session variables, include files) they work with one or the other but never both.
Is there something I can use to store the values of the username and password entered and then include them in the string nomatter where the database connection is made?
It would be really handy if I could reference the session variable from within the <SCRIPT>....</SCRIPT> tags but that doesnt seem possible.
Thanks?
jan