Using .INI files with ColdFusion
Here I will show how you can interact with .ini files. You might be wondering why do I want to interact with .ini files, when I can store the info into a dbase. Well if you have software that runs off an INI-file you can easily interact with it. Also if you have not made a connection to the Dbase you can store some info into an INI file.
Banning the Spam
As irritating as it is spam is on the rise and we have to come up with more solutions to fight it. Spam is more generated with bots and programs, not a person sitting behind their keyboard. Purpose is looking for trackback url to fool the search engines to rank their site higher in the results. Banning IP addresses is not enough and rarely works.
Something we can do is banning keywords for for instance contact forms or any other form you have made.
Clearing your Session Variables
Sometimes we need to clear the session variables. This is really easy to do.
<cfscript>
StructClear(Session);
</cfscript>
Thats all there is to it.