How can we use ColdFusion to recursively move files from one folder into another?
Solution
ColdFusion's cfdirectory tag allows you to quickly get all the files under a folder. One solution would be to simply list all the files from the source directory and then copy each to the destination. However - you have to ensure that subdirectories exist under the destination directory that matches the source directory.
I want to make my session tokens harder to guess and more unique.
Solution
Like most of my web applications I use sessions at some point to store information such as login information. I do this by utilizing Session Tokens so that the server can identity who is who.
This site is produced in partnership with
O'Reilly.