hi, 

we were thinking that we could have an application variable that stores the 
state of the data, for example if it has not changed then it is set to 'no 
change', else if it is processing a request then it would be set to 
'processing', and if it has finished processing and no errors occurred then it 
would be set to 'changed'.

then if another user tries to change information then it checks the state if it 
is 'processing' then they will be asked to wait, and if it is set to 'changed' 
then they have to click a button that reloads the data before they save, as 
otherwise there may be 2 people trying to change the same bit of data and would 
result in data inconsistency.

it will keep track of whether each user has reloaded the data by storing a 
variable in their session scope and set to either 'reload required' or 
'reloaded'

just wondering what you think of this scenario or whether others have achieved 
this in a more simple way.

thanks

richard

>You can not do this with basic HTTP/HTML/AJAX level technology.  There 
>is no connection between the server and any client that recently 
>connected to receive content.  The closest you can get with these 
>technologies is to regularly pull updated data from the client.  I.E.  
>Set a function on the client to check the server for new data every X 
>seconds.
>
>If you want to truly push data from the server to the client you are 
>going to have to use something beyond the basic HTTP client.  Of course 
>Adobe would probably suggest their FLASH/FLEX/LIVECYCLE family of tools 
>that would allow this type of functionality. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313217
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to