
September 29th, 2000, 12:38 PM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
<i><b>Originally posted by : Adam Stevenson (alstevenson@nadev.com)</b></i><br />If you want an .asp implementation you need this code:<br /><br />Applicaiton("MyConnection") = "server=localhost;uid=sa;pwd=;database=Products"<br /><br />If you want aspx you need to create an config.web file.<br />Here is a sample file:<br />-----------------------------------<br /><configuration><br /><br /> <!-- store the database connection info here --><br /> <appsettings><br /> <add key="DSN" value="server=localhost;uid=sa;pwd=;database=ibs2" /><br /> </appsettings><br /><br /> <!-- mark the web to use forms-based cookie authentication --><br /> <security><br /> <authentication mode="Cookie"> <br /> <cookie cookie="IBuySpyAuth" loginurl="Login.aspx" decryptionkey="autogenerate"> </cookie><br /> </authentication><br /> </security><br /><br /></configuration><br /><br />---------------------------------------<br /><br />Hope this helps.<br /><br />Sincerely,<br /><br />Adam Stevenson<br />------------<br />Vera Lucia Cardoso Pincerato at 8/24/2000 7:01:55 AM<br /><br />The company I work for uses Oracle and NT as operational system. Does anybody know how a program can refer to the db connection through global.asa ?<br />
|