RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Rick Faircloth
Unfortunately, I'm not at the office where I can test the variables,
but I'll check that Monday...

Quick question...would placing the application in two different folders,
one for each workstation to use and giving a different name to the
CFAPPLICATION
eliminate the overwriting of the session variables?

There are only two office workers who use it, so duplicating the app
would be no problem...just don't know if that would likely solve the
problem.

Rick


>  -Original Message-
>  From: Everett, Al [mailto:[EMAIL PROTECTED]
>  Sent: Friday, March 07, 2003 12:01 PM
>  To: CF-Talk
    >  Subject: RE: Problems with session variables getting mixed for 2
    >  different users of office application
>
>
>  Well then I'm at a loss. Have you looked at the
>  CGI.HTTP_COOKIE variable in
>  the debug output to ensure CFID and CFTOKEN are different?
>
>  > -Original Message-
>  > From: Rick Faircloth [mailto:[EMAIL PROTECTED]
>  > Sent: Friday, March 07, 2003 10:51 AM
    >  > To: CF-Talk
    >  > Subject: RE: Problems with session variables getting mixed for 2
>  > different users of office application
>  >
>  >
>  > Hi, Al and thanks for the reply.
>  >
>  > If the "ghosting" is the problem, will this problem repeat itself,
>  > even after the cookies are deleted and reset?
>  >
>  > If so, how would I prevent the propogation from occurring?
>  >
>  > Let's see.(pause)
>  >
>  > Well, after having the cookies deleted from the computers
>  > and reset by the app, the same problem occurs.
>  >
>  > 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

RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Everett, Al
Well then I'm at a loss. Have you looked at the CGI.HTTP_COOKIE variable in
the debug output to ensure CFID and CFTOKEN are different?

> -Original Message-
> From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 07, 2003 10:51 AM
> To: CF-Talk
> Subject: RE: Problems with session variables getting mixed for 2
> different users of office application
> 
> 
> Hi, Al and thanks for the reply.
> 
> If the "ghosting" is the problem, will this problem repeat itself,
> even after the cookies are deleted and reset?
> 
> If so, how would I prevent the propogation from occurring?
> 
> Let's see.(pause)
> 
> Well, after having the cookies deleted from the computers
> and reset by the app, the same problem occurs.
> 
> 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
Get the mailserver that powers this list at http://www.coolfusion.com

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



RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Rick Faircloth
Hi, Al and thanks for the reply.

If the "ghosting" is the problem, will this problem repeat itself,
even after the cookies are deleted and reset?

If so, how would I prevent the propogation from occurring?

Let's see.(pause)

Well, after having the cookies deleted from the computers
and reset by the app, the same problem occurs.

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



RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Rick Faircloth
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,

RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Rick Faircloth
Don't think that would be the problem here.
They've only been accessing the app from the browser.
Actually, the homepage of each workstation's browser
is set to the homepage of the app, so no cfid's or cftoken's
in the URL are involved at this point.

Thanks,

Rick


>  -Original Message-
>  From: Nick McClure [mailto:[EMAIL PROTECTED]
>  Sent: Friday, March 07, 2003 10:00 AM
    >  To: CF-Talk
>  Subject: RE: Problems with session variables getting mixed for 2
>  different users of office application
>
>
>  This can also happen when one user e-mails a URL to another that
>  contains the cfid and cftoken in the query string.
>
>  > -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
Get the mailserver that powers this list at http://www.coolfusion.com

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



RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Nick McClure
This can also happen when one user e-mails a URL to another that
contains the cfid and cftoken in the query string.

> -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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Everett, Al
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



RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Rick Faircloth
Hi, Scott and thanks for the reply.

They do have the app bookmarked, but there's no CFID/CFTOKEN pair
in the address.  I've not been appending them to addresses and links,
nor embedding them in forms, not even adding them in a CFLOCATION, as in


I'm trying to understand how the browsers/workstations track the session
variables.
Perhaps they depend on the CFID/CFTOKEN pair to tell the sessions apart?
Is that where the problem is?  That I'm not including the CFID/CFTOKEN pair
in every link between pages and every form submission?  I thought this info
was tracked in cookies on the clients computers by enabling
SessionManagement...
and thereby, eliminating the need to append the CFID/CFTOKEN pair to every
URL
and embedding it in every form...???

(I can feel a lot of code rewriting coming...)

Rick



>  -Original Message-
>  From: Scott Weikert [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, March 06, 2003 10:31 PM
>  To: CF-Talk
    >  Subject: Re: Problems with session variables getting mixed for 2
>  different users of office application
>
>
>  I would check to make sure if either of those workstations
>  have your app
>  page bookmarked, that there's not a CFID/CFTOKEN pair stuck
>  in the bookmark.
>
>  I had an app that had a similar issue - turns out the folks
>  who it was made
>  for wanted to put a link on their internal home page to the
>  app, and some
>  joker just went to it, and copied the URL he had, including
>  the ID/Token
>  pair. I went round and round on this thing for days before
>  finally figuring
>  this out - and all because they were being squirrely about
>  providing access
>  to this one page. Grr. :P
>
>  At 08:20 PM 3/6/2003 -0500, you wrote:
>  >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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Rick Faircloth
Hi, Joe and thanks for the reply.

I'm enabling ClientManagement and SessionManagement in the CFApplication
tag,
but only using Session variables in the app at this point.  All variables
are locked...

The problem begins when both workstations login to the the section of the
app
where a ClientID is assigned to a session variable...Session.ClientID.  The
two
workstations are overwriting each other's Session.ClientID variables.

Rick



>  -Original Message-
>  From: Joe Eugene [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, March 06, 2003 10:33 PM
>  To: CF-Talk
>  Subject: RE: Problems with session variables getting mixed for 2
    >  different users of office application
>
>
>  > 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.
>
>  What are you using? Session State or Client State
>  Management? or Both?
>  If you are using Session State... are you locking your
>  variables properly?
>
>
>  Joe Eugene
>
>
>
>  > -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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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



RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-07 Thread Rick Faircloth
Hi, Peter.

No, I'm not appending the #URLToken# to URL's or hyperlinks,
and I'm not embedding it in the forms.  Is that's what is necessary for
each browser/workstation to maintain independent sessions, by using
the URLToken?And if this is the answer...will every link and form in the
site section that uses the Session.ClientID variable in my app have to
have the URLToken appended or embedded?  (Please let the answer be no...)

Thanks for the reply.

Rick



>  -Original Message-
>  From: Tilbrook, Peter [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, March 06, 2003 10:11 PM
>  To: CF-Talk
    >  Subject: RE: Problems with session variables getting mixed for 2
>  different users of office application
>
>
>  Are you appending the #URLToken# to your URL's, hyperlinks
>  and embedding it
>  is a hidden form field in your forms?
>
>  ==
>  Peter Tilbrook
>  Internet Applications Developer
>  Australian Building Codes Board
>  GPO Box 9839
>  CANBERRA ACT 2601
>  AUSTRALIA
>
>WWW: http://www.abcb.gov.au/
> E-Mail: [EMAIL PROTECTED]
>  Telephone: +61 (02) 6213 6731
> Mobile: 0439 401 823
>  Facsimile: +61 (02) 6213 7287
>
>  -Original Message-
>  From: Rick Faircloth [mailto:[EMAIL PROTECTED]
>  Sent: Friday, 7 March 2003 12: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
Get the mailserver that powers this list at http://www.coolfusion.com

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



RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-06 Thread Joe Eugene
> 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.

What are you using? Session State or Client State Management? or Both?
If you are using Session State... are you locking your variables properly?


Joe Eugene



> -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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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



Re: Problems with session variables getting mixed for 2 different users of office application

2003-03-06 Thread Scott Weikert
I would check to make sure if either of those workstations have your app 
page bookmarked, that there's not a CFID/CFTOKEN pair stuck in the bookmark.

I had an app that had a similar issue - turns out the folks who it was made 
for wanted to put a link on their internal home page to the app, and some 
joker just went to it, and copied the URL he had, including the ID/Token 
pair. I went round and round on this thing for days before finally figuring 
this out - and all because they were being squirrely about providing access 
to this one page. Grr. :P

At 08:20 PM 3/6/2003 -0500, you wrote:
>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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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



RE: Problems with session variables getting mixed for 2 different users of office application

2003-03-06 Thread Tilbrook, Peter
Are you appending the #URLToken# to your URL's, hyperlinks and embedding it
is a hidden form field in your forms?

==
Peter Tilbrook
Internet Applications Developer
Australian Building Codes Board
GPO Box 9839
CANBERRA ACT 2601
AUSTRALIA

  WWW: http://www.abcb.gov.au/
   E-Mail: [EMAIL PROTECTED]
Telephone: +61 (02) 6213 6731
   Mobile: 0439 401 823
Facsimile: +61 (02) 6213 7287 

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Friday, 7 March 2003 12: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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

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