Re: Checking which Webserver connects to the app'
Re: Checking which Webserver connects to the app'
- Subject: Re: Checking which Webserver connects to the app'
- From: Christian Telepski <email@hidden>
- Date: Thu, 4 Sep 2003 16:01:06 +0200
Thanks for that one,
we have a network in our institute and all request from there connect
to a different Webserver then all other visiting our site (application).
I wanted to show the people from our network more information as all
others.
I first thought of making 2 applications but if i would make changes in
one of them i would have to do it on the other one as well.
Our people should get one menu item more to see and select.
I think both solutions are not the best way, because you can fake them.
at least the second.
The information for our employees is secret and no one else should read
it.
Thanks anyway,
maybe someone else has an idea...
cheers Christian Telepski
Am Donnerstag, 04.09.03 um 15:26 Uhr schrieb Fournier, Pete:
Two ways I can think of, each are ugly.
1) On the request object call applicationNumber(), this will tell you
which instance in the webservers list of applications you are calling.
You would most likely need to use a static WOConfig.xml in order to
manually set the instance numbers so each webserver references your
application as a different range. 1-10 is webserver A and 11-20 is
webserver B.
2) Use a different domain on each webserver and again interact with the
request object to determine where you are coming in through.
Again, these are both ugly, and I am wondering why you would want to
know this anyway? Why would your application need to know which
webserver serviced the request?
Pete
-----Original Message-----
From: Christian Telepski [mailto:email@hidden]
Sent: Thursday, September 04, 2003 6:37 AM
To: email@hidden
Subject: Checking which Webserver connects to the app'
Hello,
i want to use 2 Webservers on one application.
Now i wanted to know if there is a way how the application could check
from wich Webserver the application got started?
Thanks in advance
cheers Christian Telepski
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
----------------
This communication (including all attachments) is intended solely for
the use of the person(s) to whom it is addressed and should be treated
as a confidential AAA communication. If you are not the intended
recipient, any use, distribution, printing, or copying of this email
is strictly prohibited. If you received this email in error, please
immediately delete it from your system and notify the originator.
Your cooperation is appreciated.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.