.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 24th, 2000, 09:01 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Global ASA

<i><b>Originally posted by : Vera Lucia Cardoso Pincerato (vera.pincerato@scania.com)</b></i><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 />

Reply With Quote
  #2  
Old September 29th, 2000, 12:38 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
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 />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Global ASA


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway