If the directory listing is the same for all users, you can store it in the 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, you have to be carefull not to single-thread your application using the application scope in the Application.cfm

-----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]

Reply via email to