I actually don't think this is going to help you. As far as I know, load balancing splits on users, so a particular user is always directed to the same server, while the next user may be directed to the other server in the group. They don't share variables.
I think that Scott's suggestion might be a good way to go: on the hit that is going to send them to the other server, save a string of variable=value&variable2=value etc to a single text field in a database with the user ref as a key. Make sure you build the User Ref into the link, and then you can pull the variables out of the db on the first hit on the new server, and reassign them as user-scoped vars.
Sounds like this could be the start of a shared-variable scheme for multiple servers maybe?
Jason
On Tuesday, March 4, 2003, at 08:31 AM, Web Dude wrote:
Okay, I guess I will try load balancinig as the easiest method. How do I configure and/or add from one server to the next? Is anyone out there using the load balancing function and could you give me the steps needed to accomplish this?
Thanks
Good suggestion David,
I was thinking about something like this too, but wasn't sure how far the
Dude wanted to go.
ASP.NET has a nice feature where "Session State Management" (also known as
User Variables), have the option of being loaded in memory, to a shared
Process Server or serialized to a SQL-Server database.
Wouldn't it be nice to have this sort of option built into Witango? Choose
to load all User Vars into memory, or register everything into a Database
where the vars could be shared throughout a Load Balanced (or Round Robin)
Server farm.
Your suggestion could do this as well, with XML playing a lead role of course :-)
Cheers.......
Scott Cadillac, Witango.org - http://witango.org 403-281-6090 - [EMAIL PROTECTED] -- Information for the Witango Developer Community ---------------------
XML-Extranet - http://xml-extra.net 403-281-6090 - [EMAIL PROTECTED] -- Well-formed Development (for hire) ---------------------
----- Original Message ----- From: "David Shelley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 2:50 PM Subject: RE: Witango-Talk: Passing from 1 server to the next
The best way to copy user variables from one server to another is through
XML. Create a taf or tml file on your main server called sendVars.tml for
example, which gets all the user scope variables (<@varnames scope=user>),
builds XML code with the var names and values and returns it. On your new
server create a tcf method called getVars, which calls sendVars.tml using
<@url>, passing the appropriate userReference. Save the resulting XML code
in a DOM structure, then loop through it to read and set all the user vars
on the new server.
Then each time you move an application from the old server to the new one,
put a check at the entry point to see if <@cgiparam referer> is your old
server. If it is then the user is moving from one server to the other, so
you call your getVars method to copy the variables over.
I haven't actually done this before, but it should work.
Dave Shelley
-----Original Message----- From: Web Dude [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 2:57 PM To: [EMAIL PROTECTED] Subject: Re: Witango-Talk: Passing from 1 server to the next
p.s.
yes, I have the corporate version....
>I am trying to move all my sites from nt 4.0 to 2000 server and was
>wondering if there is a way to pass userreference and variable info
>from one machine to the next both running Witango server 2000. I am
>trying to transfer 1 site at a time, but I have a main site that
>runs all my SSL and the variables are not passing from one server to
>the next.
>
>I could move everything at once and get it to work, but was trying
>to do 1 site at a time and testing before going to the next site.
>
>thanks
>--
>____________________________________________________________________ ____
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
> with unsubscribe witango-talk in the message body
--
_____________________________________________________________________ ___
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
_____________________________________________________________________ ___
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
______________________________________________________________________ __
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
--
_______________________________________________________________________ _
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
-- ____________________________________________________________________
Jason Pamental, President [EMAIL PROTECTED]
Bathysphere Digital Media Services, Inc. http://bathyspheredms.com
____________________________________________________________________
Tel: 401.490.6830 Fax: 401.490.6831 ________________________________________
A North American Distributor for Witango (http://www.witango.us)
Rapid Web Application Development - XML Execution Engine
________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
