I just had one of the office workers open each workstation's browser
and delete all the cookies in the temporary Internet files.  She deleted
them manually, so they're gone.

After that, I had her close and reopen each browser and the application
and access a different client's file, thereby setting a different
Session.ClientID
on each workstation.  I then had her refresh one of the browsers and, sure
enough,
the last workstation to access the Client Management area, which first sets
the
Session.ClientID variable showed up on the other browser.

It' like this...

Browser accessing client app
Session.ClientID is set
2nd Browser accesses client app, different client
Session.ClientID is set on 2nd workstation
First browser is refreshed
Client info pulled up on 2nd workstation now appears on first.

So, the Session.ClientID variable is being overwritten each time
the app redefines the Session.ClientID.  The two workstations are not
maintaining
separate sessions...

Is appending CFID/CFTOKEN variables to every link and embedding them in
every form the answer?

Thanks,

Rick


    >  -----Original Message-----
    >  From: Everett, Al [mailto:[EMAIL PROTECTED]
    >  Sent: Friday, March 07, 2003 9:41 AM
    >  To: CF-Talk
    >  Subject: RE: Problems with session variables getting mixed for 2
    >  different users of office application
    >
    >
    >  I've seen this exact issue when PCs are built by "ghosting."
    >  What happens is
    >  the CFID and CFTOKEN cookies get set by the site and then
    >  get propogated to
    >  all machines based on the original.
    >
    >  Try clearing the browser cookies on one of the machines.
    >
    >  > -----Original Message-----
    >  > From: Rick Faircloth [mailto:[EMAIL PROTECTED]
    >  > Sent: Thursday, March 06, 2003 8:20 PM
    >  > To: CF-Talk
    >  > Subject: Problems with session variables getting mixed for
    >  2 different
    >  > users of office application
    >  >
    >  >
    >  > Hi, all.
    >  >
    >  > I've got a problem with an application I built for an office.
    >  > The Cold Fusion, browser-based app performs all their main office
    >  > functions.  The hardware setup is an office server hooked up with 2
    >  > workstations.
    >  >
    >  > The app is on the server, of course, and both workstations
    >  > access the app
    >  > through Internet Explorer.  When both office workers are
    >  > working on the app
    >  > and access the client account area simultaneously, which
    >  assigns the
    >  > ClientID to a session variable,
    >  > they both end up with the same Client on their screens.  The
    >  > Session.ClientID variable
    >  > is being redefined when they are both using the Client
    >  account area.
    >  >
    >  > I'm using Windows 2000 server and CF 4.5.2.
    >  > I recently went through the entire app and locked all the
    >  variables.
    >  >
    >  > First, I thought that each browser would establish its own
    >  > session and the
    >  > "bleeding"
    >  > of variables wouldn't occur under these circumstances.  Is
    >  > this happening
    >  > because
    >  > they are accessing the app through their browsers directly to
    >  > the server
    >  > through the LAN
    >  > rather than through the Internet?
    >  >
    >  > Solutions:
    >  >
    >  > I thought perhaps I could create an APPLICATION name that is
    >  > unique for each
    >  > user of a workstation.  Like CFAPPLICATION
    >  > Name="RCHNetwork#variable_picked_up_from_computer_being_used#",
    >  > or something to that effect that would allow each user to
    >  > have a unique
    >  > Application name and
    >  > solve the problem that way.  Would that work?  If so, what are the
    >  > possibilies for values to use
    >  > in the CFApplication name?
    >  >
    >  > Another approach might be to duplication the application in
    >  > separate folders
    >  > for each user
    >  > and have one using a hard-coded CFAPPLICATION Name such as
    >  > Name="RCHNetworkUser1" for the
    >  > first workstation, and Name="RCHNetworkUser2" for the second
    >  > application.
    >  > Would this solve the problem of sharing variables?
    >  >
    >  > I can't believe I'm just now running into this problem this late in
    >  > development.  Unfortunately,
    >  > I develop on a single workstation connected to my server,
    >  > rather than with
    >  > 2, so I haven't run
    >  > into this problem before...
    >  >
    >  > Ideas?
    >  >
    >  > Thanks for any help anyone will give!
    >  >
    >  > Rick
    >  >
    >  >
    >  >
    >  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to