>- see footer for list info -< Well not really, as a session is tired to a user, and will only get access when they do something in the browser. Previous to MX, there was also the posisbility that sessions could get mixed up if you didn't lock, and users end up with each others sessions. This is not suppoeed to be posisble in MX, but I have heard people say it still does.
Russ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dominic watson Sent: 19 January 2006 12:33 To: Coldfusion Development Subject: Re: [CF-Dev] Locking session variables >- see footer for list info -< Ah, the problem in understanding was that I didnt see how there could be multiple threaded access to a session variable. But I guess you could have more than one browser window open on the same page, etc. Is there any other way a session variable could be accessed simultaneously? Snake wrote: >>- see footer for list info -< >> >> >It's to dow ith race conditions. > >If your doing <cfset session.a = b> >The value of a or b could change before the above statement has >completed, by some other page that also reads/writes the same session variables. >By locking, you ensure this doesn't happen by single threading access >to the session scope or by naming locks. > >Russ > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of dominic watson >Sent: 19 January 2006 12:11 >To: Coldfusion Development >Subject: [CF-Dev] Locking session variables > > > >>- see footer for list info -< >> >> >My understanding of session scope is clearly wrong and so I do not >understand why session variables should be locked when written or read. >Could someone please enlighten me? > >Thanks, > >Dominic >_______________________________________________ > >For details on ALL mailing lists and for joining or leaving lists, go >to http://list.cfdeveloper.co.uk/mailman/listinfo > >-- >CFDeveloper Sponsors:- > > >>- Hosting provided by www.cfmxhosting.co.uk -< >>- Forum provided by www.fusetalk.com -< >>- DHTML Menus provided by www.APYCOM.com -< >>- Lists hosted by www.Gradwell.com -< >>- CFdeveloper is run by Russ Michaels, feel free to volunteer your >>help -< >> >> > > >_______________________________________________ > >For details on ALL mailing lists and for joining or leaving lists, go >to http://list.cfdeveloper.co.uk/mailman/listinfo > >-- >CFDeveloper Sponsors:- > > >>- Hosting provided by www.cfmxhosting.co.uk -< >>- Forum provided by www.fusetalk.com -< >>- DHTML Menus provided by www.APYCOM.com -< >>- Lists hosted by www.Gradwell.com -< >>- CFdeveloper is run by Russ Michaels, feel free to volunteer your >>help -< >> >> > > > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
