Skip to Content.
Sympa Menu

freetds - a little bit oot: about application server variable

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Sam Sam" <s4m AT lycos.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: a little bit oot: about application server variable
  • Date: Mon, 04 Dec 2000 07:18:47 -0800


Hi!
I know it's a little bit out of topic but I have a project that has to be
done with application server variabel (a variabel that keep alive in server
while the server alive). The main goal is to do simple load balancing.
e.g: i have 3 server with the same content.. and I want to write a simple
script on my 4th server that do something like this:
s_var=1;
if (s_var==1) then header(location: www1);
if (s_var==2) then header(location: www2);
if (s_var==3) then header(location: www3);
s_var++;
if (s_var>=4) s_var=1;

the idea is simple.. I wanna keep a variable till the server down.

I know in ASP (window$) there is global.asa (a server variables will be load
and keep in there until the server is down).

I wonder if anyone know something about this on PHP under Linux ?
I try to use semaphore shared memory but it's still didn't work at all...

so please if you wanna know something about this.. please mail me...

thank's for your attention..

best regards,
Sam



Great Gift Idea! FREE cell phone, internet ready at Lycos Marketplace
http://www.inphonic.lycos.com/redirect.asp?referringpage=www.lycosd1

From mail AT romme.nl Mon Dec 04 11:47:06 2000
Return-Path: <mail AT romme.nl>
Received: from smtp8.xs4all.nl ([194.109.127.134]) by franklin.oit.unc.edu
with SMTP (Lyris List Manager SOLARIS/SPARC version 4.0); Mon, 04 Dec 2000
11:47:02 -0500
Received: from brio (s340-isdn2523.dial.xs4all.nl [194.109.189.219])
by smtp8.xs4all.nl (8.9.3/8.9.3) with SMTP id RAA17045
for <freetds AT franklin.oit.unc.edu>; Mon, 4 Dec 2000 17:47:11 +0100
(CET)
Message-Id: <3.0.6.32.20001204174834.007d8e40 AT pop.xs4all.nl>
X-Sender: romme1 AT pop.xs4all.nl
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Mon, 04 Dec 2000 17:48:34 +0100
To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
From: Romme <mail AT romme.nl>
Subject: MONEY column
In-Reply-To: <LYRIS-121804-1248-2000.12.04-01.37.25--mail#romme.nl@frank
lin.oit.unc.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"


Webserver: solaris 2.6, apache-1.3.9, php-4.03p1, freetds-0.51
SQLserver: WinNT4, MSSQL?

configure --prefix=/usr/local/freetds --with-tdsver=4.2 --enable-dbmfix

At a dutch university i'm working on an application to publish financial
data to their intranet. In the tables involved some columns are of type
MONEY and DATETIME, for both types I had to change the ordering of high
and low words to get correct results.

in src/tds/numeric.c in method tds_money_to_string() added a
swap(&(money->mnyhigh), &(money->mnylow));
in src/tdsconvert.c in method tds_convert_datetime() something alike.

It's al read-only application, so the work-around is OK for me.

grtx,


--
-- Johan Romme <johan AT romme.nl>
--
-- Romme Software Engineering telno: 015-2855904
-- Cornelis Trompstraat 90 faxno: 015-2855905
-- 2628 RS Delft mobil: 06-22982288




  • a little bit oot: about application server variable, Sam Sam, 12/04/2000

Archive powered by MHonArc 2.6.24.

Top of Page