well no, you can serialize session variables into WDDX packets and store
them in a data source that way.  With a little modification to the way you
do things you can also have session variables follow you around from server
to server, again using WDDX and using hidden forms.

Fred

----- Original Message -----
From: "David Gassner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 01, 2000 12:26 PM
Subject: RE: Balanced Web Server


> Only client variables can be saved to a datasource.  Session variables are
> always stored in server memory.
>
> > -----Original Message-----
> > From: Nick McClure [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, April 01, 2000 10:25 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Balanced Web Server
> >
> >
> > But what about when you have your session variables saving to a
> > datasource.
> >
> > Shouldn't they be able to be seen by both servers assuming both of them
> > have the correct application name and session datasource.
> >
> > At 10:01 AM 4/1/2000 -0800, you wrote:
> > >As you say, client variables are stored on disk can be shared between
> > >servers, while session variables are stored in server memory and are
only
> > >available to that server.  The other difference: client variables are
> > >limited to strings, while session vars can store arrays and
> > structures.  You
> > >can store the more complex variables in client vars by
> > serializing them to
> > >WDDX strings; see the <CFWDDX> tag for more info.
> > >
> > > > -----Original Message-----
> > > > From: Brian Peddle [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, March 31, 2000 5:37 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Balanced Web Server
> > > >
> > > >
> > > > I am moving to a new location where load balancing is used.  I
> > > > know CF ships with bright tiger but I dont think I need to use
> > > > that at this point.
> > > >
> > > > My only concern is session variables.
> > > >
> > > > I only store 3 session variables in my application.  With load
> > > > balancing I know this causes a problem unless I use Bright Tiger
> > > > and sticky sessions.
> > > >
> > > > Could I just switch them over to client variables and store the
> > > > clients in the database?
> > > >
> > > > Would this solve the problem?  What are differences between
> > > > clients and session vars.  They seem very similiar.  Is it that
> > > > sessions are stored in memory while clients are stored in the
> > > > registry/database/or cookie?
> > > >
> > > > Thanks
> > > > ------------------------------------------------------------------
> > > > ------------
> > > > Archives: http://www.eGroups.com/list/cf-talk
> > > > To Unsubscribe visit
> > > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> > >_talk or send a message to [EMAIL PROTECTED] with
> > >'unsubscribe' in the body.
> > >
> > >-----------------------------------------------------------------
> > -------------
> > >Archives: http://www.eGroups.com/list/cf-talk
> > >To Unsubscribe visit
> > >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/c
> f_talk or
> >send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> >the body.
>
> --
> Nick McClure            [EMAIL PROTECTED]
> Technical Director      606.245.9656
> squareFish Media        www.squareFish.com
>
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to