On 8/15/07, <b class="gmail_sendername">Ron Dorman</b> &lt;<a href="mailto:rwd@simplydigtech.net">rwd@simplydigtech.net</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
FGM wrote:<br>&gt; If it&#39;s only two pages, why don&#39;t you just rewrite them in PHP ?<br>&gt;<br><br>I would love to to. I have built php that connected directly to MSSQL on<br>a backoffice system. I have never before thought about having php
<br>connect to two different db servers in the same app.<br><br>We would use the MySQL on the client server for Drupal, then need to<br>connect to the 3rd party MSSQL for the small bits of data from the 3rd<br>party inserted into the two pages.
<br><br>I have not seen that Drupal has the capability to support and connect to<br>two different db&#39;s. Is there such capability I have not found yet?</blockquote><div><br>It exists, but has some caveats (mainly you have to set active to 
<br>another db, and remember to set it back to Drupals afterwards).<br><br><a href="http://api.drupal.org/?q=api/function/db_set_active/HEAD">http://api.drupal.org/?q=api/function/db_set_active/HEAD</a> <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Beyond this, the question is what these ASP (raw ASP, or <a href="http://ASP.NET">ASP.NET</a> ?) data<br>&gt; are: you might also want to modify the ASP pages so that they export their<br>&gt; data to Drupal over SOAP: SOAP integration is integral to both 
<a href="http://ASP.NET">ASP.NET</a> and<br>&gt; PHP5.2, and writing a SOAP server in PHP is trivial.<br>&gt;<br><br>The current pages are raw ASP. But again, one is the main/home page. If<br>the sites is accessed with a sub-folder in the URL
<br>(<a href="http://www.example.com/sub1">www.example.com/sub1</a>) the ASP (index.asp) page reads the backoffice<br>server for a registered associate with an ID of the sub-folder name. If<br>it finds such an associate, it inserts the associate name into the
<br>template for display throughout the site and sets a cookie with the<br>associate ID in it. To run Drupal, we need index.php to be first in line<br>preempting the index.asp page.<br><br>I would have to modify Drupal to get the data from the 3rd party server
<br>before rendering the initial page.<br><br>&gt; ----- Original Message -----<br>&gt; From: &quot;Ron Dorman&quot; &lt;<a href="mailto:rwd@simplydigtech.net">rwd@simplydigtech.net</a>&gt;<br>&gt; To: &lt;<a href="mailto:development@drupal.org">
development@drupal.org</a>&gt;<br>&gt; Sent: Wednesday, August 15, 2007 8:00 PM<br>&gt; Subject: [development] ASP Integration with Drupal?<br>&gt;<br>&gt;<br>&gt;<br>&gt;&gt; A client wants to move an existing site to Drupal.
<br>&gt;&gt;<br>&gt;&gt; The catch is that the existing site has two pages that are ASP. The ASP<br>&gt;&gt; pages connect to a 3rd party hosted backoffice package and database.<br>&gt;&gt;<br>&gt;&gt; The clients current site is on a dedicated leased Win / IIS / Plesk
<br>&gt;&gt; Control Panel server. The Plesk package provides php 5.2 and MySQL 5 so<br>&gt;&gt; I do not believe we will have any issues installing and running Drupal<br>&gt;&gt; on the server.<br>&gt;&gt;<br>&gt;&gt; Does anyone know of any development, module, etc. that would allow us to
<br>&gt;&gt; integrate the ASP data into Drupal?<br>&gt;&gt;<br>&gt;&gt; Any other gotchas I should be looking for?<br>&gt;&gt;<br>&gt;&gt; Thank you all for the work you do and for the Drupal software.<br>&gt;&gt;<br>&gt;&gt; Ron D.
<br><br><br>--<br>Ron Dorman<br>Simply Digital Technologies<br><a href="http://www.simplydigtech.net">www.simplydigtech.net</a><br><a href="mailto:rwd@simplydigtech.net">rwd@simplydigtech.net</a><br>817-503-7704 ofc<br>817-503-7719 fax
<br>817-528-8947 cell<br><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://2bits.com">2bits.com</a><br><a href="http://2bits.com">http://2bits.com</a><br>Drupal development, customization and consulting.