Blog
- January 22, 2011
- How to prevent the web pages from being index by the Search Engine
If you want to hide a page or website from search engines, you can do it in several ways. Since all search engines follow a web robots standard while crawling websites called Robots Exclusion Protocol, you can use the robots.txt file to give instructions to a search engine on what to index and what not to index. First, create a text file called robots.txt on the root of your website. Now let’s say you want to block your entire website from being indexed by the search engines, so you would ...
- Read More
- Comments(0)
- January 21, 2011
- Installing RAILO Tomcat on windows step by step
Installing RAILO with Tomcat apache in window.
1. Download war version of Railo.
2. Download tomcat apache version.
Install tomcat (just extract zipped file) any location (In my case e:/apache). Now extract downloaded Railo's war file using winrar or 7zip in temprory folder.
Now copy all jar files from /WEB-INF/lib of extracted railo's folder and paste to tomcat lib folder (in my case e:/apache/lib). Open web.xml file from railo's /WEB-INF/lib folder and copy all servlet and servlet-mapping node to tomcat/conf/web.xml file. Copy index.cfm, index.cfml welcome-file to tomcat's web.xml file under welcome-file-list tag so it look like ...
- Read More
- Comments(3)
- January 17, 2011
- Listing scheduled task.
I love cfschedule tag to create/update/delete schedule and use one file to create all schedules. This is really help whenever you swich server and require to transfer all schedule task from one server to another one. As we all know Standard coldfusion server doesn't allow export facility and I am using around 25 schedule task to perform different scehdule operation. Whenever I need to add schedule file I add cfschedule tag in my cfm page and run it on server and it works great for me. But once ...
- Read More
- By Pritesh
- Comments(0)
- January 12, 2011
- One more good reason to define local variables in function instead of variables scope.
I used to create application variables for my cfc object which usually called many times from my coldfusion pages. This will help you to save execution time required to create object everytime. But it is highly recommand that you use local scope for all function local variables or there will be change your variables scope value may overwrite by other function. As a best practice it is always advisable to use local scope for function but by nature of programmer we always avoid to use it specially ...
- Read More
- By Pritesh
- Comments(0)