Nathan Stanford wrote:
>>-----Original Message-----
>>From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, July 25, 2002 10:20 AM
>>To: CF-Talk
>>Subject: Re: NEW (ColdFusion MX or ColdFusion 4.5) and 
>>Session Variables
>>( Bug)
>>
>>
>>Instance 1, first submit:        Instance 2, refresh:
>>
>>1  init cfapplication
>>
>>2  set session vars to 0
>>                                   3  init cfapplication
>>4  do queries
>>                                   5  set session vars to 0
>>6  display session vars
>>                                   7  do queries
>>8  update session vars by 1
>>                                   9  display session vars
>>10 loop
>>                                   11 update session vars by 1
>>12  display session vars
>>                                   13 loop
>>14 update session vars by 1
>>                                   15 display session vars
>>16 exit
>>                                   17 update session vars by 1
>>
>>                                   18 loop
>>
>>Output:                            Output:
>>0                                  1
>>2                                  3
> 
> 
> 
> Only problem is the output looks more like this
> Hit Refresh Fast:
>  Output:                            Output:
>  0                                  0
>  2                                  5
> 
> Hit Refresh Slow:
>  Output:                            Output:
>  0                                  0
>  2                                  57

Could be, don't know what exactly happens.
But the question is, what do you want to happen? Should instance 2 just 
wait for instance 1 to finish? Should they each copy the session 
variables to their local scope and overwrite it when they hit 
OnRequestEnd.cfm?
Also, in the code <cfset session.dealer_id="XXXXX">, where does XXXXX 
come from? URL, Form Cookie?

Jochem

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to