>- see footer for list info -< Cough, As a shared scope you can still get race conditions especially if you're using a site with frames which makes many simultaneous requests. Agreed that its not going to cause as many problems as with application scopes but to say " You can read happily without locking!" isn't strictly true it's always a risk
My 2p Alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Niklas Richardson Sent: 27 September 2005 16:40 To: Coldfusion Development Subject: Re: [CF-Dev] Reguest Variables >- see footer for list info -< And in any case in CFMX 6.1+ (or even 6+) you don't really need to worry about copying your session scopes in request scopes and all that jazz. You can read happily without locking! (AFAIK!). On 27/09/05, Alex Skinner <[EMAIL PROTECTED]> wrote: > >- see footer for list info -< > Just a point if you say request.sessionvar=session.sessionvar with a lock > around if you then use the request.sessionvar variable then it is still a > pointer to the original not a copy if the variable is complex so you could > still get race conditions. > > With mx and later you only need to really lock for race conditions so if > you're going to use the request.blah=session.blah it needs a duplicate > around it. > > Something like request.sessionscope=duplicate(session) > > > 2p > > Alex > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Matt Horn > Sent: 27 September 2005 10:42 > To: Coldfusion Development > Subject: Re: [CF-Dev] Reguest Variables > > >- see footer for list info -< > its a variabel scope that is only available to the current page or > includes within the page > > I use them to bring session variables into play > > <cflock > > <Cfset request.sessionvar = session.sessionvar> > </cflock> > > <cfif request.sessionvar> > > </cfif> > > > thats what I use em for > > Paul Swingewood wrote: > > >> - see footer for list info -< > > > > I know this is probably stupid but I don't know the answer so I > > thought i'd ask ... > > > > What are Request Variables? > > > > request.myvariablename > > > > Regards - Paul > > > > > > _______________________________________________ > > > > 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 -< > -- Niklas Richardson Prismix Ltd Flex and ColdFusion Experts! _______________________________________________ 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 -<
