My Recent Tweets

Follow @rkuiper72
Archives

Using .INI files with ColdFusion

Here I will show how you can inter­act with .ini files. You might be won­der­ing why do I want to inter­act with .ini files, when I can store the info into a dbase. Well if you have soft­ware that runs off an INI-file you can eas­ily inter­act with it. Also if you have not made a con­nec­tion to the Dbase you can store some info into an INI file.

Read the rest of this entry »

Banning the Spam

As irri­tat­ing as it is spam is on the rise and we have to come up with more solu­tions to fight it.  Spam is more gen­er­ated with bots and pro­grams, not a per­son sit­ting behind their key­board. Pur­pose  is look­ing for track­back url to fool the search engines to rank their site higher in the results. Ban­ning IP addresses is not enough and rarely works.

Some­thing we can do is ban­ning key­words for for instance con­tact forms or any other form you have made.

Read the rest of this entry »

Clearing your Session Variables

Some­times we need to clear the ses­sion vari­ables. This is really easy to do.

CF Code

<cfscript>
     Struct­Clear(Ses­sion);
</cfscript>

Thats all there is to it.