473,805 Members | 2,297 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dual Links

Hey!

I have a problem and i am looking to implenement a simple
solution. On our site we have an ecom system, but we also
have a backup system incase the first system fails for
whatever reason, not likey to happen, but just in case.

So for every buy link on our site we have to put the
secondary system.

Does anyone know a way to implement this is such a way i
can have a master login (say to a database) and i type a
code and all the links would goto the seconday page, and
if i pressed another code they go back to normal.

Bascially i want a way to switch out everything on the
fly, so i dont have to go and rename all the backup links
to the first links, and vice versa, as the links that
need to be changed is growing, and would be hard to
switch all in an emergencyu.

Any input would be great.

Thanks!!
Jul 19 '05 #1
4 1508
without lots of IF statements how about having all links with something like

<a href=<%= Servernam %>/dir/page.asp>stuff</a>

And in your global.asa set the Servername value. this way one location to
switch it.
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Dual Links" <an*******@disc ussions.microso ft.com> wrote in message
news:f7******** *************** *****@phx.gbl.. .
Hey!

I have a problem and i am looking to implenement a simple
solution. On our site we have an ecom system, but we also
have a backup system incase the first system fails for
whatever reason, not likey to happen, but just in case.

So for every buy link on our site we have to put the
secondary system.

Does anyone know a way to implement this is such a way i
can have a master login (say to a database) and i type a
code and all the links would goto the seconday page, and
if i pressed another code they go back to normal.

Bascially i want a way to switch out everything on the
fly, so i dont have to go and rename all the backup links
to the first links, and vice versa, as the links that
need to be changed is growing, and would be hard to
switch all in an emergencyu.

Any input would be great.

Thanks!!

Jul 19 '05 #2
An alternative to global.asa, but the same basic approach as Curt's
suggestion, would be to store the information in the database, and pull it
in as a variable in an include file.

(This way, you can change the database and it affects the very next page
load, without having to change global.asa--which may kill valid sessions,
and have other ill effects.)

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Dual Links" <an*******@disc ussions.microso ft.com> wrote in message
news:f7******** *************** *****@phx.gbl.. .
Hey!

I have a problem and i am looking to implenement a simple
solution. On our site we have an ecom system, but we also
have a backup system incase the first system fails for
whatever reason, not likey to happen, but just in case.

So for every buy link on our site we have to put the
secondary system.

Does anyone know a way to implement this is such a way i
can have a master login (say to a database) and i type a
code and all the links would goto the seconday page, and
if i pressed another code they go back to normal.

Bascially i want a way to switch out everything on the
fly, so i dont have to go and rename all the backup links
to the first links, and vice versa, as the links that
need to be changed is growing, and would be hard to
switch all in an emergencyu.

Any input would be great.

Thanks!!

Jul 19 '05 #3
I'd have to say that such a thing should be handle with your internal
routing on your network. If serverA goes down, reroute the http requests to
serverB. Of course, as you realize, switching servers on the fly will lose
your sessions, so your idea of storing data in a database (on serverC) would
be a good solution.

Ray at home

"Dual Links" <an*******@disc ussions.microso ft.com> wrote in message
news:f7******** *************** *****@phx.gbl.. .
Hey!

I have a problem and i am looking to implenement a simple
solution. On our site we have an ecom system, but we also
have a backup system incase the first system fails for
whatever reason, not likey to happen, but just in case.

So for every buy link on our site we have to put the
secondary system.

Does anyone know a way to implement this is such a way i
can have a master login (say to a database) and i type a
code and all the links would goto the seconday page, and
if i pressed another code they go back to normal.

Bascially i want a way to switch out everything on the
fly, so i dont have to go and rename all the backup links
to the first links, and vice versa, as the links that
need to be changed is growing, and would be hard to
switch all in an emergencyu.

Any input would be great.

Thanks!!

Jul 19 '05 #4
> I'd have to say that such a thing should be handle with your internal
routing on your network. If serverA goes down, reroute the http requests
to
serverB.


Ah, the trade-offs of redundancy, fault tolerance and/or load balancing.
And $$$. And time to configure/maintain. I'm glad we have network admins
for that side of things. ;-)

But still, it's good to understand how they work, also...
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
5835
by: Tomer Ben-David | last post by:
Hi I have a big j2ee appliction that was so forth run on a single cpu machine. I have tested it on a dual cpu machine, its running much slower (about X3 times slower). I know that synchronize code fragments (indirect ones as well, such as the fact that StringBuffer is synchronized) can make code run slower
3
9886
by: Yaroslav K. Kravchishin | last post by:
Oracle 7.0.1 Server When I type SQL> select sysdate from dual; SYSDATE --------- 01-OCT-03 01-OCT-03 2 rows selected.
5
2991
by: John Dalberg | last post by:
I am planning to build a server to be used as a SQL Server and web server. Right now I can only use a single box for both. I have read some threads were dual processors are having problems with some parallel queries and the suggestions of having sql server use a single CPU. My budget is limited so I am debating whether to get 2.6G dual xeon 533FSB or dual P4 800FSB (DRR@ ram) or stick with a speedy single cpu. If I get a dual cpu...
2
2797
by: Dave Mausner | last post by:
consider a one-row, two-column table. the right column is very long with text content. the left column is used for navigation links. i aligned the links with the top of the column so that they are visible when the page loads. i would like to repeat the links aligned at the bottom of the same column as a convenience for readers who paged down to the end of the text. here's a picture--can it be done? i am using html4+css1.
25
9739
by: John Gibson | last post by:
Hi, all. I need to upgrade my dual Xeon PostgreSQL engine. Assuming similar memory and disk sub-systems, I am considering a Quad Xeon system vs. a Dual Itanium for PostgreSQL. I believe that the PostgreSQL code is written for 32 bit and not optimized for the 64 bit Itanium cpu. That makes me think that the Xeon system would be a better choice.
2
2689
by: webwarrior | last post by:
Hi, Is there a reason why we have to pay more for licensing for a different kind of processor? Why are we not charged for the Hyperthreading on some processors also. If Oracle is really conserned about the low end business market (small and medium), then they should drop their attitude on Dual Core processors.
2
2486
by: bruce_brodinsky | last post by:
Don't know whether to post this on a hardware or software board, so here goes: I wrote a c# chess program which searches for checkmate. Now, it's single-threaded. But I was thinking. I just got a Dell XPS dual-core machine. If I modify the chess program to use threading, will it take advantage of the dual-core machine? If so, is there any special code (besides .Net threading) that I have to implement? Thanks in advance - Bruce
1
2073
by: Adam Hartshorne | last post by:
Hi All, I need to create a series of "dual graphs", I was wondering if anybody knew of a library which contains an efficient data structure to hold such a graph and method to traverse/search. Adam
2
1235
by: =?Utf-8?B?d29kYXo=?= | last post by:
I have a dual patition with vista(not functioning) on the c drive as primary capadity 108GB 2 used, and an E drive running XP 40GB 39.6Gb used. Please note I like the vista program. But in this instance I think it would be best probably to reformat entire disk and just a single drive. I have an external hard drive of 320GB, but how do I put my entire E drive to it so that I can restore it completely to the reformatted disc without losing...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10617
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10109
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5545
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4328
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.