WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-09-2008, 03:49 PM
WebProWorld New Member
 

Join Date: May 2005
Posts: 7
cruiseagent RepRank 0
Default shared database

I am not a real tech person so I really could use some help in reference to databases.

I have two different web sites. One is php and the other is asp.net. Not real smart I know have two different formats. Did not know any better at the time.

So my question is I want to be able to have the databases talk to each other so the members will only have to log in once and have only one membership.

One database is mssql and the other is mysql is this possible? If so please explain so I can see about doing or hiring someone.
Reply With Quote
  #2 (permalink)  
Old 06-09-2008, 04:50 PM
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 290
Tech Manager RepRank 1
Default Re: shared database

Yes this is possible. You could set up the user validation within one website and have it act as the clearing house for user data. There really is no need to have both databases talk to eash other unless you plan to keep separate user data.

A simple connection to the database holding the credentials will take care of the matter. Assuming the databases are on the same server it is a piece of cake. If they reside on different servers it will work almost as easily. Just make sure the chosen database can handle remote connections.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #3 (permalink)  
Old 06-09-2008, 10:40 PM
WebProWorld Member
 

Join Date: May 2008
Location: London
Posts: 64
kronikmedia RepRank 0
Default Re: shared database

Another alternative could be to write a bridge script of some sort that will automatically keep both websites in synch. You can also write a export script that will transfer data from one to the other and set this up as a cronjob,
Reply With Quote
  #5 (permalink)  
Old 06-10-2008, 12:20 PM
WebProWorld New Member
 

Join Date: May 2005
Posts: 7
cruiseagent RepRank 0
Default Re: shared database

Thank you for all of the help. I might not of explained real well.

Here is what I am thinking about.
I have two web sites with two different databases of membership. One is php and the other is asp.net.

Here are my thoughts since both sites attract the same clients I wanted to make different memberships available. One would be to site 1 and the other would be to site 2 with a third option of a combo membership to site 1 and 2.

This would be for existing and new members.

All of this to be managed from just one admin area with one payment area and of course just one sign in to access the areas they are approved to access depending on the membership program each has.

I hope that this makes things a little clearer. Am I looking at a major project and major expense? I hope that this is all workable and not to expensive. Would it be easier to re write the asp.net product to php? I am just at a loss in what direction to go.
Reply With Quote
  #6 (permalink)  
Old 06-15-2008, 12:43 PM
advancedmerchant's Avatar
WebProWorld Pro
 

Join Date: Aug 2003
Location: Fullerton, CA
Posts: 148
advancedmerchant RepRank 1
Default Re: shared database

You could do it by having a single database, and adding 2 fields- "SITE 1" and "SITE 2" When someone signs up at site #1, you build the record, and set "SITE 1" to true. Same for Site 2. If someone from one site wants to register at the other, they can enter their login, but get a message asking if they want to be registered under the same name at this site as well. Once paid, you would set the flag for the second site. You would just have to add logic to check for the proper flag at login time to both sites, but you would have a single, integrated database.
__________________
Accept Credit Cards Anywhere!
www.merchantanywhere.com
Reply With Quote
  #7 (permalink)  
Old 06-17-2008, 08:15 AM
WebProWorld New Member
 

Join Date: Jun 2008
Posts: 5
sryk3 RepRank 0
Default Re: shared database

I think this will work. did u try it? please tell us what happened because i want to use this also
__________________
How to Live Green
Reply With Quote
  #8 (permalink)  
Old 06-17-2008, 08:45 AM
WebProWorld New Member
 

Join Date: May 2005
Posts: 7
cruiseagent RepRank 0
Default Re: shared database

We have not tried as yet. We are looking for someone to do this. We have a bid request out with a few different areas, rentacoder and elance to see what the cost would be. Will let you know
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Shared Borders Andy Romano Search Engine Optimization Forum 1 10-29-2005 05:11 PM
Fixed or shared IP onelife Search Engine Optimization Forum 10 10-03-2005 08:17 PM
Shared reciprocal links database ok? eggypiece Google Discussion Forum 0 11-24-2004 07:52 PM
How shared is shared..? Dragonsi IT Discussion Forum 9 05-23-2004 04:37 PM
Shared Printers? tammster37601 IT Discussion Forum 4 03-18-2004 09:22 PM


Search Engine Optimization by vBSEO 3.2.0