From: Pascal Peters
Date: Fri, 14 Nov 2003 14:51:45 +0100
If the directory listing is the same for all users, you can store it in the application scope.
Directory listings would change. Not all users would be accessing the same data in the same directories. Can I still use an APPLICATION scope?
Don't forget to refresh the variable if you add/delete/rename a file.
You can only store it in the session scope if users can only see their own files. Otherwise you would get in trouble if two users are logged in and one of them deletes a file. How would the other user
be aware of that? The file would still exist in his session var.
If you are pre-CFMX,
Yes...CF5
you have to be carefull not to single-thread your application using the application scope in the Application.cfm
I'm not sure what you mean by that. Could you give an example?
-----Oorspronkelijk bericht-----
Van: Bushy [mailto:[EMAIL PROTECTED]
Verzonden: vr 14/11/2003 14:11
Aan: CF-Talk
CC:
Onderwerp: RE: Changes in a Directory CFDIRECTORY
I see. So I have a web interface that will be accessed by 50+ users. A treeview listing of directories allowing editing/deleteing files etc.
So I should be using an APPLICATION scope then? Currently I have all SESSION scopes.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

