Quick question...
How exactly do the triggers work in able commerce? The reason I ask is this:
We are going to be migrating our site to a new IP address, and we currently have both sites in operation. Now, my plan for switching over seamlessly is to have both sites connected to the same database server (with same credentials) so that the customers, no matter which site they get, will end up with the same data. That way, while our DNS is propigating to the new IP, no one should see any problems.
However, I just thought of this... What happens for emails, and certain such things that are fired by triggers? Will our customers end up getting two emails until we take down the old site? What other problems might occur if we do things this way?
Thanks for all the help.
Scott
How do triggers work exactly?
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: How do triggers work exactly?
If you have both sites in operation, make sure you have a machine key in the Web.Config file instead of using the one from the server by default.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: How do triggers work exactly?
When I moved an ASP site in the past, I just added a redirect to the old web pages so that it would transfer any one served by the old site to the new site (via the new site's IP address). I also disconnected the old site from it's (separate) database to ensure no crossover.
Hope that helps.
Hope that helps.
Re: How do triggers work exactly?
The problem with this method is that SSL will not work for the new site until DNS fully changes over, since the certificate is licensed to the domain name.When I moved an ASP site in the past, I just added a redirect to the old web pages so that it would transfer any one served by the old site to the new site (via the new site's IP address).
Will this fix any redundant maintenance/trigger activity? What would I change the machine key to? On which site?If you have both sites in operation, make sure you have a machine key in the Web.Config file instead of using the one from the server by default.
Thanks, so sorry for my ignorance.
Scott
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: How do triggers work exactly?
Logan had posted about the machine key- down toward the bottom of this topic:
viewtopic.php?f=42&t=7121&hilit=machinekey
viewtopic.php?f=42&t=7121&hilit=machinekey
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx