<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4490099601932567328</id><updated>2024-10-31T23:26:45.963-07:00</updated><category term="ColdFusion"/><category term="ColdFusion Security"/><category term="CF Administrator API"/><category term="CF Lockdown guide"/><category term="ColdFusion Splendor"/><category term="Framework"/><category term="HMAC-SHA1"/><category term="IIS Malware"/><category term="Mach-II"/><category term="Twitter Oath Creation"/><category term="adminApi"/><category term="500 Internal server error"/><category term="BackDoor Vulnerabilty"/><category term="ColdFusion 10"/><category term="DLL"/><category term="Event Driven"/><category term="ExcelSheets"/><category term="FuseBox"/><category term="HTTP."/><category term="IIS"/><category term="IIS Request Filtering"/><category term="ISAPI"/><category term="Information Leakage"/><category term="MVC"/><category term="Office automation"/><category term="Percent Encoding"/><category term="REST API V 1.1"/><category term="Recent Tweets"/><category term="SQL Injection"/><category term="Seminar"/><category term="Thread"/><category term="TimeStamp"/><category term="Twitter REST API V 1.1"/><category term="URL Encoding"/><category term="VBScript"/><category term="WhiteHat Security"/><category term="XSS"/><category term="apachepoi"/><category term="cfThread"/><category term="cfexecute"/><category term="cookie"/><category term="cscript"/><category term="isapi_redirect"/><category term="poi 3.10"/><category term="setDomainCookies"/><category term="spreadheet"/><category term="windows server 2008"/><category term="x64 bit machine"/><title type='text'>ColdFusion Tips &amp;amp; Tricks</title><subtitle type='html'>Some Useful Tips related to ColdFusion, SQL Server, MYSQL, HTML, CSS, JQuery, KendoUI, AJAX, RETSIQ.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-289873223550247024</id><published>2014-08-31T01:21:00.003-07:00</published><updated>2014-09-10T04:52:07.163-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cfexecute"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="cscript"/><category scheme="http://www.blogger.com/atom/ns#" term="Office automation"/><category scheme="http://www.blogger.com/atom/ns#" term="VBScript"/><category scheme="http://www.blogger.com/atom/ns#" term="windows server 2008"/><category scheme="http://www.blogger.com/atom/ns#" term="x64 bit machine"/><title type='text'>Not able to run vbscript using cfexecute on Windows 64 bit Machine - Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Goal: &lt;b&gt;To run VBScript using CFexecute using command base script &lt;a href=&quot;http://technet.microsoft.com/en-in/library/bb490887.aspx&quot;&gt;Cscript.exe&lt;/a&gt; &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Environment:&amp;nbsp; ColdFusion 10, Windows7 , 64 bit Machine.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
My VB Script(Excel.vbs) performs simple &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa262700%28v=vs.60%29.aspx&quot; target=&quot;_blank&quot;&gt;office automation&lt;/a&gt; . &lt;br /&gt;
&lt;br /&gt;
So first I tried with command line to run Excel.VBS.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;C:\Windows\System32 &amp;gt; cscript //nologo D:\Excel.vbs D:\test.xls&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;and got expected o/p &lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;Success &lt;/span&gt;&lt;/b&gt;(Good my Excel VBS is correct)&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now, I have to see whether CF runs correctly or not.&lt;br /&gt;
So I use cfexecute to run Excel.VBS.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;lt;cfexecute name = &quot;C:\Windows\System32\CScript.exe&quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arguments = &quot;//NoLogo D:\Excel.vbs D:\test.xls&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variable = &quot;savedOutput&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout = &quot;3600&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/cfexecute&amp;gt;&lt;br /&gt;&amp;lt;cfdump var=&quot;#savedOutput#&quot;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
But, I got this error message -&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Error: 424 Source: Microsoft VBScript runtime error Description: Object required &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Then what is wrong with ColdFusion, same VBScript is running using command line but CFExecute throws error.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
So I tried two things :&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;nbsp;Checked whether account which runs ColdFusion is having admin rights or not?&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Yes CF running with Admin privilege. &lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Tried using batch file&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;batchFile.bat :&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;
&lt;span style=&quot;color: #b4a7d6;&quot;&gt;&lt;b&gt;@echo off&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b4a7d6;&quot;&gt;&lt;b&gt;pushd %~dp0&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b4a7d6;&quot;&gt;&lt;b&gt;cscript cscript //nologo D:\Excel.vbs D:\test.xls&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b4a7d6;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;lt;cfexecute name = &quot;D:\batchFile.bat&quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variable = &quot;savedOutput&quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arguments=&quot;/C /Q&quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout = &quot;3600&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/cfexecute&amp;gt;&lt;br /&gt;&amp;lt;cfdump var=&quot;#savedOutput#&quot;&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Same Error: 424 Source: Microsoft VBScript runtime error Description: Object required&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
So what will be the solution for this ?&lt;br /&gt;
After checking some threads on office automation I found this solution.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;We have to add the Desktop folder in the systemprofile and system32 folder to&amp;nbsp;open file by&amp;nbsp;Excel if you have Windows Service or IIS on Windows 7 x64 (dev machine) and Server 2008 x64.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
So I added Desktop folder under these 2 directories - &lt;br /&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;C:\Windows\System32\config\systemprofile&lt;br /&gt;C:\Windows\SysWOW64\config\systemprofile&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;O/P: Now my cfexecute code gives success and VBScript performs desired office operation.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;Also, verify that ColdFusion is allowed to &quot;Interact with Desktop&quot; is enabled or not on Services.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
Note: &lt;i&gt;If you are doing office automation then you have to add &lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-0&quot;&gt;the Desktop folder&lt;/span&gt; inside &lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-1&quot;&gt;systemProfile&lt;/span&gt; irrelevant of technology you are using under above Environments.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Hope it helps you :)&lt;i&gt; &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/289873223550247024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/08/not-able-to-run-vbscript-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/289873223550247024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/289873223550247024'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/08/not-able-to-run-vbscript-using.html' title='Not able to run vbscript using cfexecute on Windows 64 bit Machine - Solution'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-3098760515927257696</id><published>2014-08-29T22:20:00.002-07:00</published><updated>2014-10-29T14:07:59.717-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apachepoi"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion 10"/><category scheme="http://www.blogger.com/atom/ns#" term="ExcelSheets"/><category scheme="http://www.blogger.com/atom/ns#" term="poi 3.10"/><category scheme="http://www.blogger.com/atom/ns#" term="spreadheet"/><title type='text'>POI Compatibility Issues with ColdFusion</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;In this post I will discuss with Issues coming with &lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-0&quot;&gt;the latest POI 3.10&lt;/span&gt; in ColdFusion 9/10.. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Recently I worked on Import/Export features of Excel documents in my project. Moreover, this excel documents are too much complex with Multiple trigger and rich with Macros.&lt;br /&gt;
&lt;br /&gt;
In result, I faced lots of Issue in reading such files and faced n no of errors with POI.&lt;br /&gt;
&lt;br /&gt;
Let&#39;s discuss &lt;b&gt;How ColdFusion reads excel sheets&amp;nbsp; ? &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is POI ?&lt;/b&gt;&lt;br /&gt;
- &lt;b&gt;POI is open source java library used to read Microsoft documents. &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Why POI in ColdFusion ?&lt;/b&gt;&lt;br /&gt;
- &lt;b&gt;ColdFusion ships with POI to read Excel sheet&lt;/b&gt;s. CF also ships with Open Office, by default excel read/manipulation handle by POI. If you want to use Open Office then Configure local/remote Open Office directories under CF Admin. ColdFusion 10 comes with POI 3.6 jar files.&lt;br /&gt;
&lt;br /&gt;
POI jar files present under lib directory of ColdFusion: (Below jar files comes up with POI 3.10)&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;dom4j-1.6.1.jar  &lt;/li&gt;
&lt;li&gt;poi.jar&lt;/li&gt;
&lt;li&gt;poi-ooxml.jar &lt;/li&gt;
&lt;li&gt;poi-ooxml-schemas.jar  &lt;/li&gt;
&lt;li&gt;poi-scratchpad.jar  &lt;/li&gt;
&lt;li&gt;stax-api-1.0.1.jar  &lt;/li&gt;
&lt;li&gt;xmlbeans-2.6.0.jar&lt;/li&gt;
&lt;/ol&gt;
Now let&#39;s discuss some errors which I have got while reading those XLS/XLSX files using ColdFusion 10.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Some Errors while reading those XLS/XLSX files with ColdFusion 9/10 using inbuilt tags/function available in ColdFusion :&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;(with XLS)&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt; &lt;/span&gt;java.lang.NullPointerException
 at org.apache.poi.hssf.model.LinkTable.getExternalBookAndSheetName&amp;nbsp;&amp;nbsp;&lt;/b&gt; &lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;(with XLS)&lt;/span&gt;Duplicate PageSettingsBlock record (sid=0x89c)&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;(with XLS) &lt;/span&gt;Unexpected celltype (5)&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;This error may comes when you have some dirty data or cell value starting with #.&lt;br /&gt;But everything fine in my case.&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;(with XLS) &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;coldfusion.excel.ExcelProcessException: An exception occurred while using action=read. &lt;/span&gt;&lt;/span&gt;NullPointerExceptioN.&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;There was nothing wrong in my cfspreadhseet syntax&lt;/i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;(with XLSX) &lt;/span&gt;The supplied POIFSFileSystem does not contain a BIFF8 &#39;Workbook&#39; entry. Is it really an excel file?&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;Some of the XLSX files are failing&lt;/i&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;(with XLSX) &lt;/span&gt;The Supplied spreadsheet seems to be encrypted .xlsx file. It must be decrypted before use by HSSF&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
What I have tried so far with inbuilt Tags/Function available in CF :&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #38761d;&quot;&gt;Sucess&lt;/span&gt;/&lt;span style=&quot;color: red;&quot;&gt;Failure &lt;/span&gt;?&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;As all &lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-0&quot;&gt;issues&lt;/span&gt; are pointing towards POI issue. So I download &lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-1&quot;&gt;the latest version&lt;/span&gt; of POI 3.10 and extracted all jar files and put it under  \lib directory.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;Success&lt;/b&gt;&lt;/span&gt;: 6/5 issues with 100% success rate with&amp;nbsp; XLS solved using updated POI except encrypted error coming up with some XLSX file.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;Adverse effects&lt;/span&gt; (&lt;span style=&quot;color: red;&quot;&gt;Failures&lt;/span&gt;):&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Formatting rows/columns/cells of Excel Sheets with styles like fonts and color are not working and &lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-0&quot;&gt;throw&lt;/span&gt; an error &quot;&lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-1&quot;&gt;Java&lt;/span&gt;: no Method error with fonts and color&quot;. &lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Cause: &lt;span class=&quot;comment-copy&quot;&gt;ColdFusion expecting &lt;code&gt;Font.getCharSet&lt;/code&gt; to return a byte, while the latest version of POI returns an int. &lt;a href=&quot;http://stackoverflow.com/questions/25503974/unable-to-create-a-spreadsheet-with-formatted-rows-in-coldfusion-10-with-poi-3-1&quot; target=&quot;_blank&quot;&gt;Stackoverflow thread&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&amp;nbsp;Some of the XLSX file which was easily readable using POI 3.6 is now unreadable and through &lt;br /&gt;&lt;pre class=&quot;lang-java prettyprint prettyprinted&quot;&gt;&lt;code&gt;&lt;span class=&quot;str&quot;&gt;&quot;org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorksheet.getColsList()Ljava/util/List&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
java&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;lang&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;NoSuchMethodError&quot;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;In &lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-0&quot;&gt;the next post&lt;/span&gt; I will discuss &lt;/span&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;some workaround for it.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/3098760515927257696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/08/poi-compatibility-issues-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/3098760515927257696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/3098760515927257696'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/08/poi-compatibility-issues-with.html' title='POI Compatibility Issues with ColdFusion'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-8649297576004981616</id><published>2014-08-15T14:18:00.001-07:00</published><updated>2014-08-15T14:18:10.205-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="Event Driven"/><category scheme="http://www.blogger.com/atom/ns#" term="Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="Mach-II"/><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>Mach-II Framework - Basic beginner start.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;i&gt;&amp;nbsp;My journey towards learning Mach-II framework&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Few days back, I have added &lt;a href=&quot;http://shamcf.blogspot.in/2014/08/coldfusion-frameworks-which-one-to.html&quot; target=&quot;_blank&quot;&gt;post &lt;/a&gt;regarding CF frameworks. &lt;br /&gt;
In this post we are going to understand what Mach-II is and what this beautiful framework provides.&lt;br /&gt;
&lt;br /&gt;
There is already a superb &lt;a href=&quot;https://github.com/Mach-II/Mach-II-Framework/wiki&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt; directory from where you can learn Mach-II.&lt;br /&gt;
&lt;b&gt;&lt;i&gt;This post will help you to get familiar with some basics of Mach-II and early hurdles you face if you are a beginner.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Below points will cover whatever I&#39;ve learned so far in Mach-II.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Let&#39;s begin: -&lt;/u&gt; &lt;br /&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;What Mach-II&amp;nbsp; is ?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;MVC framework for ColdFusion&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Benifit of MVC : &lt;/b&gt;Separation of codes into different layers which help to reuse and organize your code better using the &lt;b&gt;Model&lt;/b&gt;(mainly CFCs), &lt;b&gt;View&lt;/b&gt;(shows your content) and &lt;b&gt;Controller&lt;/b&gt;(which link Model and Views)&lt;/li&gt;
&lt;li&gt;In Mach-II controller comprises of plugins,listeners and filters&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Object Oriented F/W&lt;/li&gt;
&lt;li&gt;Event Driven Framework&lt;/li&gt;
&lt;li&gt;&lt;b&gt;mach-ii.xml&lt;/b&gt; where all configuration needs to be done.&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;XML contains : Properties, Events, Listeners, Page Views, Filters, Plugins&amp;nbsp; &lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;II&lt;/b&gt; stands for&lt;b&gt; Implicit Invocation&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;As Mach-II is an event driven framework, so all events are handled though event handlers which in turn announced a component for which event is registered.&lt;/li&gt;
&lt;li&gt;Know More here &lt;i&gt;&lt;a href=&quot;https://github.com/Mach-II/Mach-II-Framework/wiki/Introduction-to-Implicit-Invocation-Architectures#SoftwareArchitectures&quot; target=&quot;_blank&quot;&gt;Implicit-Invocation-Architectures in MVC&lt;/a&gt;&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Easy to maintain and provide flexibility in developing robust application.&lt;i&gt; &lt;/i&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;How to setup Mach-II ?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;nbsp;First download Mach-II f/w code and skeleton from&lt;br /&gt;&lt;a href=&quot;https://github.com/Mach-II/Mach-II-Framework&quot; target=&quot;_blank&quot;&gt;MachII Github &lt;/a&gt;or  &lt;a href=&quot;http://mach-ii.com/&quot; target=&quot;_blank&quot;&gt;Mach-II home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;A basic folder structure which I kept up while learning Mach-II&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl411jBQPyyevXEdwxxmVX2E5bcgCm_qw8ZMW78GzQ0o1eYziZzwZMN0SiJvVrnP-Yy95VRz_XFaK2r2in027pBm2tZjyPkfgBbFZri9OKceFRky2aE7dX0mg9elV7ni1Yz92xLJOecwvi/s1600/Mach-II+Folder+Structue.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl411jBQPyyevXEdwxxmVX2E5bcgCm_qw8ZMW78GzQ0o1eYziZzwZMN0SiJvVrnP-Yy95VRz_XFaK2r2in027pBm2tZjyPkfgBbFZri9OKceFRky2aE7dX0mg9elV7ni1Yz92xLJOecwvi/s1600/Mach-II+Folder+Structue.png&quot; height=&quot;244&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span id=&quot;goog_931227242&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_931227243&quot;&gt;&lt;/span&gt;&amp;nbsp; &lt;/li&gt;
&lt;li&gt;Once code downloaded,&amp;nbsp; now we have to run mach-II application based on where you kept our framework files and skeleton files.&lt;br /&gt;If you are keeping f/w files outside web root,&amp;nbsp; then we have to add a mapping in CF administrator. You can also extend Mach-II f/w codes to setup your mach-ii f/w environment.&lt;br /&gt;Here is the &lt;a href=&quot;https://github.com/Mach-II/Mach-II-Framework/wiki/How-Do-I-Install-Mach-II%3F&quot; target=&quot;_blank&quot;&gt;link &lt;/a&gt;which shows you various ways to setup your mach-ii application&lt;/li&gt;
&lt;li&gt;Above Image shows my application folder comprises of both f/w codes + skeleton.&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;I pointed this directory as a Virtual Directory in my IIS and named as &quot;mach2test&quot;&lt;/li&gt;
&lt;li&gt;Now we need to open &lt;b&gt;/config/ mach-II.xml.&lt;/b&gt;&amp;nbsp; In property applicationRoot we have to specify the root of our application.&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;property name=&quot;applicationRoot&quot; value=&quot;/mach2test&quot; /&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Now,&amp;nbsp; once we have added value for applicationRoot, we have to add mapping or inherit f/w codes using extends attribute.&lt;br /&gt;So for this I have added &quot;MachII.mach-ii&quot; in application.cfc to inherit mach-ii.cfc&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;lt;cfcomponent displayname=&quot;learnMach-ii&quot; output=&quot;false&quot; extends=&quot;MachII.mach-ii&quot;&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Now code setup is over, you are ready to run your first o/p in the browser.&lt;br /&gt;&lt;i&gt;http://localhost/mach2test/index.cfm.&lt;/i&gt; If you have downloaded Mach-II skeleton then first o/p will be&lt;b&gt; Hello Mach-II!&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;Flow of Mach-II Application:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;All Mach-II request flows from index.cfm because it follows pattern called Front Controlerl&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Wiki:  It provides a centralized entry point for handling requests.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&amp;nbsp;As Mach-II is event driven in nature, so everything goes on by calling an event which creates event objects. Let&#39;s look for one example to get a clear Idea on Mach-II flow.&lt;/li&gt;
&lt;li&gt;Say for example: If you have a basic login page in your application &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7Q8GJrmz1FVcEY-a23hEuNRr5hnVBcuV09C0NFZbs0XJz3pp6fF2mmpNjP31hzjQzd69Z5IrcVPIcvjRGsoW4bZhU5oj1tFdtGhWovoYLzmUWDGQ8rRepBj8yxF1Y8Vug97HqaPW4Et5A/s1600/mach-ii+flow.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7Q8GJrmz1FVcEY-a23hEuNRr5hnVBcuV09C0NFZbs0XJz3pp6fF2mmpNjP31hzjQzd69Z5IrcVPIcvjRGsoW4bZhU5oj1tFdtGhWovoYLzmUWDGQ8rRepBj8yxF1Y8Vug97HqaPW4Et5A/s1600/mach-ii+flow.png&quot; height=&quot;280&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;ul&gt;
&lt;li&gt;URL : http://localhost/mach2test/index.cfm?event=login. So first request goes to central page index.cfm and start looking for Mach-II.xml&lt;/li&gt;
&lt;li&gt;As we are calling an event called &lt;span style=&quot;color: lime;&quot;&gt;login &lt;/span&gt;(If we don&#39;t specify any eventParameter then defaultEvent will execute) so It will look for event-handers where an event is login&lt;/li&gt;
&lt;li&gt;Now event handler told to open a view called &lt;span style=&quot;color: purple;&quot;&gt;login.cfm.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;In login.cfm - we have one form whose action calls &quot;index.cfm?event=checkLogin&quot;&lt;/li&gt;
&lt;li&gt;Now, once again flows go to Mach-II.xml and look for &lt;span style=&quot;color: lime;&quot;&gt;checkLogin &lt;/span&gt;event. checkLogin event handler calls listener &lt;span style=&quot;color: purple;&quot;&gt;loginListener &lt;span style=&quot;color: black;&quot;&gt;which looks for&lt;/span&gt;&lt;/span&gt; validateLogin method present under &lt;span style=&quot;color: magenta;&quot;&gt;loginComponent &lt;/span&gt;CFC which resides under the model.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;validateLogin() return success/failure and announces an event &lt;span style=&quot;color: lime;&quot;&gt;loginSucess &lt;/span&gt;and shows &lt;span style=&quot;color: purple;&quot;&gt;home.cfm &lt;/span&gt;or&amp;nbsp; loginFailure which shows error message. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&amp;nbsp;Hope you get a basic flow of Mach-II framework.&lt;br /&gt;
&lt;i&gt;I am still driving &lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-0&quot;&gt;deeper&lt;/span&gt; into Mach-&lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-1&quot;&gt;II &lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-1&quot;&gt;framework&lt;/span&gt;, hope I will be coming with some more post related to &lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-2&quot;&gt;Mach&lt;/span&gt;-&lt;span class=&quot;correction  alternate&quot; id=&quot;GingerWidget-correction-3&quot;&gt;II&lt;/span&gt; soon.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Happy Learning :)&lt;u&gt;&lt;br /&gt;&lt;b&gt; &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/8649297576004981616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/08/mach-ii-framework-basic-beginner-start.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/8649297576004981616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/8649297576004981616'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/08/mach-ii-framework-basic-beginner-start.html' title='Mach-II Framework - Basic beginner start.'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl411jBQPyyevXEdwxxmVX2E5bcgCm_qw8ZMW78GzQ0o1eYziZzwZMN0SiJvVrnP-Yy95VRz_XFaK2r2in027pBm2tZjyPkfgBbFZri9OKceFRky2aE7dX0mg9elV7ni1Yz92xLJOecwvi/s72-c/Mach-II+Folder+Structue.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-5705928070804051221</id><published>2014-08-03T12:21:00.001-07:00</published><updated>2014-10-10T14:15:09.916-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="FuseBox"/><category scheme="http://www.blogger.com/atom/ns#" term="Mach-II"/><title type='text'>ColdFusion Frameworks - Which one to choose ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Someone asks me a few days back regarding Skill set of ColdFusion frameworks -&lt;br /&gt;
&lt;br /&gt;
Conversation Starts.&lt;br /&gt;
&lt;br /&gt;
Anonymous - &lt;i&gt;Do you know any of the &lt;b&gt;CF frameworks&lt;/b&gt; like &lt;b&gt;Mach-II&lt;/b&gt; ?&lt;/i&gt;&lt;br /&gt;
Me - &lt;i&gt;No, I have not worked with any of them in my project so far, but I am having some Idea about MVC frameworks.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Anonymous: &lt;i&gt;Ok, good. So how long It will take you to learn Mach-II framework ?&lt;/i&gt;&lt;br /&gt;
Me: &lt;i&gt;Probably x days to get acquainted with all stuffs in it.&lt;/i&gt;&lt;br /&gt;
Anonymous: &lt;i&gt;Ok, tx.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Conversation ends.&lt;br /&gt;
&lt;br /&gt;
I am not great fan of Frameworks yet.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;Yes, I heard that Frameworks do make &lt;span class=&quot;sac&quot; id=&quot;spans0e0&quot;&gt;developer&#39;s&lt;/span&gt; life easy and you can do some stuffs very easily by writing &lt;span class=&quot;sac&quot; id=&quot;spans0e1&quot;&gt;a few lines&lt;/span&gt; of code rather &lt;span class=&quot;sac&quot; id=&quot;spans0e2&quot;&gt;than&lt;/span&gt; &lt;span class=&quot;sac&quot; id=&quot;spans0e3&quot;&gt;a bunch&lt;/span&gt; of plain codes. &lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Once I attended Seminar on &lt;b&gt;FuseBox &lt;/b&gt;framework months back.&amp;nbsp; Holy crap that was too much of fuses and circuits drama.&lt;br /&gt;
To just add a Login Functionality. We have to take care of&amp;nbsp; too many settings.&lt;br /&gt;
&lt;br /&gt;
So, what to do now ?&lt;br /&gt;
Lot&#39;s of question coming to my mind.&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/i&gt;
&lt;i&gt;&lt;b&gt;After lot&#39;s of reading and searches, I thought that It&#39;s &lt;span class=&quot;sac&quot; id=&quot;spans0e0&quot;&gt;the best&lt;/span&gt; time to learn some frameworks not because &lt;span class=&quot;sac_image_o&quot; id=&quot;spans0e1&quot;&gt;someone&lt;/span&gt; asking me to learn but I found &lt;span class=&quot;sac&quot; id=&quot;spans0e2&quot;&gt;interesting&lt;/span&gt; after seeing this &quot;Sunsetting Mach-II&quot;.&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Even if the core developers move out from Mach-II but still&amp;nbsp;Mach-II and &lt;/b&gt;&lt;/i&gt;&lt;i&gt;&lt;b&gt;&lt;i&gt;&lt;b&gt;FuseBox &lt;/b&gt;&lt;/i&gt; are most popular CF frameworks.&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Frameworks available for ColdFusion&lt;br /&gt;
&lt;b&gt;1. Mach-II - one of the first Object Oriented ColdFusion frameworks.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2. FuseBox&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;3. ColdBox&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;4. Cold Spring&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;5. Model-Glue&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;6. F/W 1&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;7. CF wheels&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;*There may be much more of it.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
So, I am going to take Mach-II as my first CF framework which will be added to my skill set then FuseBox.&lt;br /&gt;
&lt;br /&gt;
What I want from these frameworks -&lt;br /&gt;
&lt;b&gt;&lt;i&gt;1. Easy to Use&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;2. Rapid Development&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;3. Good Community Support &lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Let&#39;s Begin .. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/5705928070804051221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/08/coldfusion-frameworks-which-one-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/5705928070804051221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/5705928070804051221'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/08/coldfusion-frameworks-which-one-to.html' title='ColdFusion Frameworks - Which one to choose ?'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-350928889383400220</id><published>2014-05-09T11:25:00.000-07:00</published><updated>2014-05-09T11:53:32.538-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="500 Internal server error"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion Splendor"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS"/><category scheme="http://www.blogger.com/atom/ns#" term="ISAPI"/><category scheme="http://www.blogger.com/atom/ns#" term="isapi_redirect"/><title type='text'>isapi_redirect 500 Internal Server Error</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today I was Installing &lt;b&gt;Dev Version of ColdFusion Splendor&lt;/b&gt; in my Machine.&lt;br /&gt;
&lt;i&gt;I completed CF 11 Installation successfuly but when I try to run CFM code then I got this strange error.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-YLBPwi5Uhd_VuxhuKJbZW-W2s26w-VhznaCTEOUVYPRYxgudkKdyN6KE7n3z07YgtlZRsNlWXzQb0tYLbHA7EIvV_62DmJpAqC0wXpuyu8tFTpP4bqpuxQK1ii-vRgJrSBMjKBeL3ESJ/s1600/error.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-YLBPwi5Uhd_VuxhuKJbZW-W2s26w-VhznaCTEOUVYPRYxgudkKdyN6KE7n3z07YgtlZRsNlWXzQb0tYLbHA7EIvV_62DmJpAqC0wXpuyu8tFTpP4bqpuxQK1ii-vRgJrSBMjKBeL3ESJ/s1600/error.png&quot; height=&quot;296&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;500 Internal Server Error -&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I was not aware of such kind of error in past so&lt;br /&gt;
&lt;b&gt;&lt;i&gt;What is isapi_redirect DLL ?&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;What is the need of&amp;nbsp; isapi_redirect DLL in running .cfm page?&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Here comes the Answer -&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;b&gt;As we know IIS is an External Web server and It tends to process HTML content and Tomcat/Jrun is Built In web server which in turns execute Java and JSP applications.&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
As we know ColdFusion is built on top of Java EE so we need some one to run those Javabyte codes and that is why we need Tomcat/Jrun.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;So,&amp;nbsp; here isapi_redirect is Middle guy which send your request from IIS to Tomcat. In technical term,&amp;nbsp; It is a Plugin which helps IIS to send servlet/JSP request to Tomcat to&amp;nbsp; process any client request. &lt;/b&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;i&gt;So, now solve our Main Issue - 500 Internal Server (Check above screenshot showing error message )&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Steps to Follow to solve it - &lt;br /&gt;
&amp;gt;&amp;nbsp; &lt;i&gt;&lt;b&gt;Open ISAPI Filters in IIS&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&amp;gt;&amp;nbsp; Right Click/ Click Action &quot;Add&quot;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&amp;gt; Give any filter name say &quot;CFIASPI&quot;&amp;nbsp; and under Executable Text box give path of your&amp;nbsp;isapi_redirect DLL present under #root#\config\wsconfig\1\isapi_redirect.dll&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&amp;gt;&amp;nbsp; Now restart IIS once&amp;nbsp;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&amp;gt;&amp;nbsp; Load your CFM page, Issue solved&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
If issue not solved even after adding required DLL under ISAPI.&lt;br /&gt;
&lt;b&gt;&lt;i&gt;-- Check web.xml under your project folder and see for any reference of ISAPI present or not.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Above scenario may only happen when you have CF 10 already Installed&amp;nbsp; and due to mismatch in handler mapping It cause to read wrong path of ISAPI DLL.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;-- If&amp;nbsp; found in web.xml check config setting for ISAPI. Validate its path.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;If you still facing any issue,&amp;nbsp; Please share. It is also new to me.&lt;/i&gt;&lt;br /&gt;
Hope it may help :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/350928889383400220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/05/isapiredirect-500-internal-sever-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/350928889383400220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/350928889383400220'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/05/isapiredirect-500-internal-sever-error.html' title='isapi_redirect 500 Internal Server Error'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-YLBPwi5Uhd_VuxhuKJbZW-W2s26w-VhznaCTEOUVYPRYxgudkKdyN6KE7n3z07YgtlZRsNlWXzQb0tYLbHA7EIvV_62DmJpAqC0wXpuyu8tFTpP4bqpuxQK1ii-vRgJrSBMjKBeL3ESJ/s72-c/error.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-7415398747710646279</id><published>2014-05-08T05:03:00.001-07:00</published><updated>2014-05-08T05:16:26.154-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CF Lockdown guide"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion Security"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS Request Filtering"/><title type='text'>How to Secure your ColdFusion Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;watch-title long-title yt-uix-expander-head&quot; dir=&quot;ltr&quot; id=&quot;eow-title&quot; title=&quot;Seminar on ColdFusion Security: How to Secure your ColdFusion Server&quot;&gt;Take a look on My Seminar Video -&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;watch-title long-title yt-uix-expander-head&quot; dir=&quot;ltr&quot; id=&quot;eow-title&quot; title=&quot;Seminar on ColdFusion Security: How to Secure your ColdFusion Server&quot;&gt;ColdFusion Security: How to Secure your ColdFusion Server&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt; &lt;/h2&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/Pj38zLk7g6Q?rel=0&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://shamcf.blogspot.in/2014/05/coldfusion-security-how-to-secure-your.html&quot; target=&quot;_blank&quot;&gt;Check Seminar Slides here &lt;/a&gt;&lt;br /&gt;
Hope it may help you.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/7415398747710646279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/05/how-to-secure-your-coldfusion-server_8.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/7415398747710646279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/7415398747710646279'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/05/how-to-secure-your-coldfusion-server_8.html' title='How to Secure your ColdFusion Server'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-6111717763892370021</id><published>2014-05-02T07:21:00.002-07:00</published><updated>2014-05-08T05:18:23.528-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion Security"/><category scheme="http://www.blogger.com/atom/ns#" term="Seminar"/><title type='text'>Securing ColdFusion Server - Seminar Response</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Here is my Feedback Summary of Seminar which I have given last week - How to Secure your ColdFusion Server&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Quick Look on Seminar Slides: &lt;a href=&quot;http://shamcf.blogspot.in/2014/05/coldfusion-security-how-to-secure-your.html&quot;&gt;&lt;b&gt;http://shamcf.blogspot.in/2014/05/coldfusion-security-how-to-secure-your.html&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj09TKuRHHvk2_5bDMU1idr3UTD_jvGcbhM4KZGpIHCwg4UGrhEIvwKB2A7XFnOCcrSKW7rLnr4VifgXxAYY2SJwTLhfT7ee_YYAzfUGpvp7DnwtMf2o4MBv_9u8th281veYm_FGwOZ95Mv/s1600/FeedBack+Summary.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj09TKuRHHvk2_5bDMU1idr3UTD_jvGcbhM4KZGpIHCwg4UGrhEIvwKB2A7XFnOCcrSKW7rLnr4VifgXxAYY2SJwTLhfT7ee_YYAzfUGpvp7DnwtMf2o4MBv_9u8th281veYm_FGwOZ95Mv/s1600/FeedBack+Summary.png&quot; height=&quot;318&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjceVtYw7X_StktjrUP-9qfs8L2tnhyphenhyphenIVGbIw2SUm5bgqvA_lcf22hp2sSFtRQqum5TXOPfOb_nhiQpnF8bjiWjX7aKrD-jYOk8m3KQqJGNEp_vwPHgfBUoRRM5YO1SuYskAowxOkQzlZSR/s1600/FeedBack+Summary.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjceVtYw7X_StktjrUP-9qfs8L2tnhyphenhyphenIVGbIw2SUm5bgqvA_lcf22hp2sSFtRQqum5TXOPfOb_nhiQpnF8bjiWjX7aKrD-jYOk8m3KQqJGNEp_vwPHgfBUoRRM5YO1SuYskAowxOkQzlZSR/s1600/FeedBack+Summary.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;i&gt;Thanks all for your useful responses.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;a href=&quot;http://shamcf.blogspot.in/2014/05/coldfusion-security-how-to-secure-your.html&quot; target=&quot;_blank&quot;&gt;&lt;i&gt;Check Slide here&lt;/i&gt;&lt;/a&gt;&lt;br /&gt;
&lt;i&gt;&lt;a href=&quot;http://shamcf.blogspot.in/2014/05/how-to-secure-your-coldfusion-server_8.html&quot; target=&quot;_blank&quot;&gt;Check Video here&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;i&gt;Hope you all have taken preventive measures to secure your&lt;b&gt; ColdFusion Server&lt;/b&gt;.&lt;/i&gt; &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/6111717763892370021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/05/how-to-secure-your-coldfusion-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/6111717763892370021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/6111717763892370021'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/05/how-to-secure-your-coldfusion-server.html' title='Securing ColdFusion Server - Seminar Response'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj09TKuRHHvk2_5bDMU1idr3UTD_jvGcbhM4KZGpIHCwg4UGrhEIvwKB2A7XFnOCcrSKW7rLnr4VifgXxAYY2SJwTLhfT7ee_YYAzfUGpvp7DnwtMf2o4MBv_9u8th281veYm_FGwOZ95Mv/s72-c/FeedBack+Summary.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-6960753334995397035</id><published>2014-05-02T05:17:00.002-07:00</published><updated>2014-05-09T04:31:50.545-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BackDoor Vulnerabilty"/><category scheme="http://www.blogger.com/atom/ns#" term="CF Lockdown guide"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion Security"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS Malware"/><title type='text'>ColdFusion Security - How to Secure your ColdFusion Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Recently I have given Seminar on&lt;b&gt; ColdFusion Security -&amp;nbsp; How to Secure your ColdFusion Server&lt;/b&gt; in company Level&lt;br /&gt;
&lt;br /&gt;
In seminar I discussed about recent&lt;i&gt;&lt;b&gt; CF vulnerabilities, how CF server can be hacked, how we can prevent such attacks by securing our CF server&lt;/b&gt;&lt;/i&gt; etc&lt;br /&gt;
&lt;br /&gt;
Here is my slide - Please look into it.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;450&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://www.slideshare.net/slideshow/embed_code/34477678&quot; style=&quot;border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px; max-width: 100%;&quot; width=&quot;650&quot;&gt; &lt;/iframe&gt; &lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 5px;&quot;&gt;
&lt;b&gt;&lt;b&gt; &lt;a href=&quot;https://www.slideshare.net/MindfireSolutions/cold-fusion-securityhow-to-secure-coldfusion-server&quot; target=&quot;_blank&quot; title=&quot;Cold fusion Security-How to Secure Coldfusion Server&quot;&gt;Cold fusion Security-How to Secure Coldfusion Server&lt;/a&gt; &lt;/b&gt; from &lt;b&gt;&lt;a href=&quot;http://www.slideshare.net/MindfireSolutions&quot; target=&quot;_blank&quot;&gt;Mindfire Solutions&lt;/a&gt;&lt;/b&gt; &lt;/b&gt;&lt;/div&gt;
&lt;b&gt;
&lt;/b&gt; 
&lt;a href=&quot;http://shamcf.blogspot.in/2014/05/how-to-secure-your-coldfusion-server_8.html&quot; target=&quot;_blank&quot;&gt;Video Presentation here&lt;/a&gt;&lt;br /&gt;
Hope it may help you :)

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/6960753334995397035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/05/coldfusion-security-how-to-secure-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/6960753334995397035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/6960753334995397035'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/05/coldfusion-security-how-to-secure-your.html' title='ColdFusion Security - How to Secure your ColdFusion Server'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-4134590919978546147</id><published>2014-05-01T08:29:00.004-07:00</published><updated>2014-05-01T08:32:18.768-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="cookie"/><category scheme="http://www.blogger.com/atom/ns#" term="setDomainCookies"/><title type='text'>Cookies : setDomainCookies Funda</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
All knows what &lt;b&gt;setDomainCookies&lt;/b&gt; does.&lt;br /&gt;
If not Please revisit &quot;&lt;b&gt;&lt;b&gt;setDomainCookies&lt;/b&gt;&amp;nbsp; Used to set CFID and CFTOKEN cookies
for a domain (not just a host) &lt;/b&gt;&quot;. and generally we use to set it as false always.&lt;br /&gt;
&lt;br /&gt;
I faced real time problem in my Application few days back.&lt;br /&gt;
We create multiple websites through single Applications, Hosted with different domains.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;sac&quot; id=&quot;spans0e0&quot;&gt;The issue&lt;/span&gt; was here:&lt;br /&gt;
&lt;span class=&quot;sac&quot; id=&quot;spans0e1&quot;&gt;Let&#39;s&lt;/span&gt; say we have 2 different websites altogether.&lt;br /&gt;
Named as&lt;br /&gt;
&lt;i&gt;1. shamRealty.indiatimes.com&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;2. kasleRealty.indiatimes.com&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;sac&quot; id=&quot;spans0e2&quot;&gt;The problem&lt;/span&gt; was when you open shamRealty.indiatimes.com and on another tab kasleRealty.indiatimes.com.&lt;br /&gt;
kasleRealty websites show same content of shamRealty.&lt;br /&gt;
&lt;b&gt;More simple way: you have open Google.com in one tab and then opened &lt;span class=&quot;sac&quot; id=&quot;spans0e6&quot;&gt;Facebook&lt;/span&gt; in another tab, facebook.com opens with google page in it.&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;sac&quot; id=&quot;spans0e7&quot;&gt;Weird&lt;/span&gt; right ?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;I thought this might be some IIS related Issue, but once I clear my browser cookie/cache. Issue was not reproducible.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I start looking into Cookie assignment and found this:&lt;br /&gt;
CFID and CFTOKEN was generating twice in website&lt;br /&gt;
one for&lt;br /&gt;
shamRealty.indiatimes.com (CFID:2313, CFTOKEN:234124)&lt;br /&gt;
and one for&lt;br /&gt;
.indiatimes.com (CFID:23412 , CFTOKEN:345435)&lt;br /&gt;
&lt;br /&gt;
These give us a hint that why domain specific CFID/CFTOKEN is generating.&lt;br /&gt;
We start Looking into Application Level settings and found that by mistake we have enabled setDomainCookies to true.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Funda : Don&#39;t enable setDomainCookies to true until your application is not running in Clustered Environment because If CFID and CFToken variable combinations already exist on each host in the cluster, ColdFusion migrates the host-level variables on each cluster member to the single, common domain-level variable.&lt;/b&gt;&lt;br /&gt;
source - Adobe&lt;br /&gt;
&lt;br /&gt;
So we have turned off setDomainCookies and Issue was solved.&lt;br /&gt;
Hope it may help &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/4134590919978546147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/05/cookies-setdomaincookies-funda.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/4134590919978546147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/4134590919978546147'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/05/cookies-setdomaincookies-funda.html' title='Cookies : setDomainCookies Funda'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-439853486173088542</id><published>2014-04-29T22:38:00.002-07:00</published><updated>2014-04-30T00:47:39.914-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion Splendor"/><title type='text'>ColdFusion Splendor - Released (Finger Crossed)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;ColdFusion Splendor released yesterday&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.coldfusion.com/post.cfm/announcing-the-launch-for-coldfusion-11-and-coldfusion-builder-3&quot; target=&quot;_blank&quot;&gt;http://blogs.coldfusion.com/post.cfm/announcing-the-launch-for-coldfusion-11-and-coldfusion-builder-3&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this will not be like a CF 10 with lots of bugs all around.&lt;br /&gt;
&lt;br /&gt;
If product is like CF 10 (not 10.0.1 ..) then seriously we have to look around ColdFusion Road Map.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Also please give CF world a time and timespan between 2 product release. Hope you understand what I am telling about.&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Finger Crossed, Hope CF Splendor will be Awesome Product for Adobe.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;b&gt;Right now, lets accept it and be Pride of CF&lt;/b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Welcome &amp;lt;cfSplendor&amp;gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/439853486173088542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/04/coldfusion-splendor-released-finger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/439853486173088542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/439853486173088542'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/04/coldfusion-splendor-released-finger.html' title='ColdFusion Splendor - Released (Finger Crossed)'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-3840556974652329868</id><published>2014-04-26T12:31:00.000-07:00</published><updated>2014-04-26T12:34:39.229-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion Security"/><category scheme="http://www.blogger.com/atom/ns#" term="Information Leakage"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Injection"/><category scheme="http://www.blogger.com/atom/ns#" term="WhiteHat Security"/><category scheme="http://www.blogger.com/atom/ns#" term="XSS"/><title type='text'>ColdFusion Security Statistics Report 2014 - My look</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://info.whitehatsec.com/Whitepaper-Stats-Apr2014.html&quot; target=&quot;_blank&quot;&gt;2014 Website Security Statistics Report&amp;nbsp;&lt;/a&gt;&amp;nbsp; released few days back which gives brief Info about security issues related to all web technologies.&lt;br /&gt;
&lt;br /&gt;
Here are few points and some care which we need to take:&lt;br /&gt;
&lt;br /&gt;
1. &lt;b&gt;ColdFusion 5th most widely used languages.&lt;/b&gt;&lt;br /&gt;
2. But the main Point in the report which brings me sad is &quot;1&lt;b&gt;0.59% of ColdFusion sites had at least one SQL Injection vulnerability, the highest among all Programming Languages&lt;/b&gt;&quot;&lt;br /&gt;
&lt;br /&gt;
Who is responsible ?&lt;br /&gt;
&lt;br /&gt;
Yes, we developers who are not writing secure CFML code to stop SQL Injection Vulnerabilities.&lt;br /&gt;
&lt;b&gt;Not using QueryParam is not at all accepted in CF World.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Writing a Parametrized Query can stop most of SQL Injection Vulnerabilities. Please follow it.&lt;br /&gt;
&lt;br /&gt;
3. XSS (46%), SQL Injection(11%) and Information Leakage(24%) Vulnerabilities are major&amp;nbsp; concerns. &lt;br /&gt;
&lt;br /&gt;
Hope we will write Secure CFML code and protect our ColdFusion Sever to prevent such vulnerabilities in future.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/3840556974652329868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/04/coldfusion-security-statistics-report.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/3840556974652329868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/3840556974652329868'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/04/coldfusion-security-statistics-report.html' title='ColdFusion Security Statistics Report 2014 - My look'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-1878635322581372604</id><published>2014-04-24T10:39:00.001-07:00</published><updated>2014-04-26T12:35:25.861-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adminApi"/><category scheme="http://www.blogger.com/atom/ns#" term="CF Administrator API"/><category scheme="http://www.blogger.com/atom/ns#" term="CF Lockdown guide"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion Security"/><category scheme="http://www.blogger.com/atom/ns#" term="DLL"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS Malware"/><title type='text'>How ColdFusion Server was allowing to Install IIS malware which Steals data</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I was preparing for my company Level seminar on ColdFusion Security this week and gone through numerous blog and slides to learn about recent ColdFusion attacks.&lt;br /&gt;
&lt;br /&gt;
The one which brings me more Interest is &lt;b&gt;IIS Malware attack.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
What is it ?&lt;br /&gt;
How IIS malware injected in your server ?&lt;br /&gt;
&lt;br /&gt;
Lot&#39;s of questions to be asked but the reason for such attack was &lt;b&gt;CF Backdoor Vulnerability&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Yes, If you keep your Door open some one will come and steal some data from your Server.&lt;br /&gt;
Here Door terms your ColdFusion Server.&lt;br /&gt;
&lt;br /&gt;
Lets check&amp;nbsp; this IIS Malware Injection through flow chart.&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE9Bdt2rF7cYBq8JjivEP8ZFKseN0i7b-aouxQ0NCsHdkr9b1e385Kj06xmDp5x53hCzbGWG9FdJa_k3p1tdOMfMtpAyscM0G2dpKPceQXfoy8QwwHC_2g61ra_UkI_GH6v4BZDT4wysyC/s1600/iis+malware.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;iis malware injection&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE9Bdt2rF7cYBq8JjivEP8ZFKseN0i7b-aouxQ0NCsHdkr9b1e385Kj06xmDp5x53hCzbGWG9FdJa_k3p1tdOMfMtpAyscM0G2dpKPceQXfoy8QwwHC_2g61ra_UkI_GH6v4BZDT4wysyC/s1600/iis+malware.png&quot; height=&quot;340&quot; title=&quot;iis malware injection&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Flow Chart of IIS Malware Injection though CF Backdoor Vulnerability&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;CF vulnerability allowing to create a Web Shell (A Web shell is a type of Remote Access Tool (RAT) or backdoor Trojan file) in server which in turns execute DLL and adds that module in IIS.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Injected DLL was capturing the post request for specific page example paymentProcess.cfm (Installer added this page during installing DLL) and writing POST parameters info in some log file.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Specifically design DLL was also undetectable by modern Anti-Virus.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Even SSL can&#39;t stop this. As it captures data after SSL post is decrypted by the server.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
It says that how much Imp was to read ColdFusion Lock Down guide. If you have locked your server then well and good. If not then check lock down guides and lock your server soon.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;If you are not aware of CF lock down guide please visit :&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;http://www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf10/cf10-lockdown-guide.pdf&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I will be coming with next blog which will contain detail recent CF Vulnerabilities.&lt;br /&gt;
&lt;br /&gt;
Hope it may help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/1878635322581372604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/04/how-coldfusion-server-was-allowing-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/1878635322581372604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/1878635322581372604'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/04/how-coldfusion-server-was-allowing-to.html' title='How ColdFusion Server was allowing to Install IIS malware which Steals data'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE9Bdt2rF7cYBq8JjivEP8ZFKseN0i7b-aouxQ0NCsHdkr9b1e385Kj06xmDp5x53hCzbGWG9FdJa_k3p1tdOMfMtpAyscM0G2dpKPceQXfoy8QwwHC_2g61ra_UkI_GH6v4BZDT4wysyC/s72-c/iis+malware.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-2666428636824366694</id><published>2014-04-13T09:43:00.002-07:00</published><updated>2014-04-13T09:46:52.822-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CF Administrator API"/><category scheme="http://www.blogger.com/atom/ns#" term="cfThread"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="Thread"/><title type='text'>Get Active threads / Kill any specific Thread using CF Admin API.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
As we know we can create threads using &amp;lt;cfthread&amp;gt; tag.&lt;br /&gt;
We can run, join or terminate a thread but lets say we have &lt;span class=&quot;sac&quot; id=&quot;spans0e1&quot;&gt;a real world scenario&lt;/span&gt; and we want to show all CF threads in our web Application which are running and do all operations though web App.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;So for this we have to get Metadata Info for all threads.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
In my &lt;a href=&quot;http://shamcf.blogspot.in/2014/04/coldfusion-administrative-api-overview.html&quot; target=&quot;_blank&quot;&gt;Last post&lt;/a&gt; &amp;nbsp; we have discussed about how we can access CF Administrative APIs.&lt;br /&gt;
So to achieve this we are going to use &lt;b&gt;CF Admin API using servermonitoring.cfc&lt;/b&gt;.&lt;br /&gt;
You can also visit Server Monitoring in ColdFusion Administrator and see those threads and Manage it.&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/9746803.js&quot;&gt;&lt;/script&gt;

&lt;b&gt;getActiveThreadsRunning() &lt;/b&gt;will return all metadata info of Threads 
which are running currently like ThreadName, TimeTaken,CFStrackTrace 
etc.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Let’s move on to see how we can Kill any thread.&lt;/b&gt;&lt;br /&gt;
You may get into situation where any threads are running for longer 
period of time and because of that other process are waiting in queue:&lt;br /&gt;
&lt;br /&gt;
We can call &lt;b&gt;abortCFThread&lt;/b&gt;() present under servermonitoring.cfc to achieve this.&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/9746834.js&quot;&gt;&lt;/script&gt;

Hope it will help you. &lt;br /&gt;
Happy Coding :)
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/2666428636824366694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/04/get-active-threads-kill-any-specific.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/2666428636824366694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/2666428636824366694'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/04/get-active-threads-kill-any-specific.html' title='Get Active threads / Kill any specific Thread using CF Admin API.'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-192705668550041579</id><published>2014-04-13T09:26:00.001-07:00</published><updated>2014-04-13T09:40:14.034-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adminApi"/><category scheme="http://www.blogger.com/atom/ns#" term="CF Administrator API"/><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><title type='text'>ColdFusion Administrative API: An OverView</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Most of the times or generally we use to do Admin level settings via going to CF Admin Page&lt;br /&gt;
But we can also change admin Level settings through code base using CF Admin APIs&lt;br /&gt;
Say for example &lt;i&gt;&lt;b&gt;Login in CF admin, adding a datasource or to see how many threads are running in our CF server.&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
All these can be achieved through Admin APIs which perform all CF Administrative work.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ColdFusion Provides reach Admin API located under CF directory (&amp;lt;CF Directory&amp;gt;\cfusion\wwwroot\CFIDE\adminapi).&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
There are almost 18 Components in total present in CF 10&lt;br /&gt;
CF11(Splendor: Beta Version) adds one more which is document.cfc.&lt;br /&gt;
&lt;br /&gt;
Most of the CF Administrative work we can achieve it using these admin CFCs.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNAW6pl8hIJNP1DzLLoziBskHhW6LuBF80SBR8xtnBu2KT-mkFCe6ZFR6yK76-qfe3Pl0OqIAyZgF9hjdGKsoLIbbEo7vvVjDXecWj-nXCb5TeAuveal97GlibdfjZ8Mdlf-vxOibpWu1y/s1600/api.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNAW6pl8hIJNP1DzLLoziBskHhW6LuBF80SBR8xtnBu2KT-mkFCe6ZFR6yK76-qfe3Pl0OqIAyZgF9hjdGKsoLIbbEo7vvVjDXecWj-nXCb5TeAuveal97GlibdfjZ8Mdlf-vxOibpWu1y/s320/api.png&quot; height=&quot;333&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Above Image shows a list of Admin APIs present in CF splendor.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;As all CF admin APIs are encrypted but we can check list of methods available under each CFC by calling them.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt; Let’s say we have to see what are the methods present under adminsitrator.cfc&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
use: &lt;a href=&quot;http://coldfusion10/CFIDE/adminapi/administrator.cfc&quot; rel=&quot;nofollow&quot;&gt;http://coldfusion10/CFIDE/adminapi/administrator.cfc&lt;/a&gt;&lt;br /&gt;
enter your RDS password and you can check the methods available under administrator.cfc.&lt;br /&gt;
&lt;br /&gt;
To call any CF admin APIs, you have to first Log in to CF administrator:&lt;br /&gt;
So first we have to create objects for those CFC and call it:&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/9746338.js&quot;&gt;&lt;/script&gt;
So, walk over to all the Admin APIs and get familiar with It.&lt;br /&gt;
&lt;br /&gt;
Hope it will help you.&lt;br /&gt;
Happy Coding :)&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/192705668550041579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2014/04/coldfusion-administrative-api-overview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/192705668550041579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/192705668550041579'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2014/04/coldfusion-administrative-api-overview.html' title='ColdFusion Administrative API: An OverView'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNAW6pl8hIJNP1DzLLoziBskHhW6LuBF80SBR8xtnBu2KT-mkFCe6ZFR6yK76-qfe3Pl0OqIAyZgF9hjdGKsoLIbbEo7vvVjDXecWj-nXCb5TeAuveal97GlibdfjZ8Mdlf-vxOibpWu1y/s72-c/api.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-8795267342126385929</id><published>2013-08-13T07:16:00.001-07:00</published><updated>2013-08-19T02:30:44.458-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="HMAC-SHA1"/><category scheme="http://www.blogger.com/atom/ns#" term="HTTP."/><category scheme="http://www.blogger.com/atom/ns#" term="Percent Encoding"/><category scheme="http://www.blogger.com/atom/ns#" term="REST API V 1.1"/><category scheme="http://www.blogger.com/atom/ns#" term="TimeStamp"/><category scheme="http://www.blogger.com/atom/ns#" term="Twitter Oath Creation"/><category scheme="http://www.blogger.com/atom/ns#" term="URL Encoding"/><title type='text'>Get Recent Tweets using Twitter REST API v1.1 by ColdFusion - Part 2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Let&#39;s start where we left in &lt;b&gt;&lt;a href=&quot;http://shamcf.blogspot.in/2013/08/get-latest-twit-posted-by-user-using.html&quot; target=&quot;_blank&quot;&gt;Part 1&lt;/a&gt;.&lt;/b&gt; In this post our main Goal will be to create&lt;b&gt; Dynamic Oath Header for authorizing&amp;nbsp; an API request&lt;/b&gt;. We already created Oath Header using &lt;i&gt;shamApp&lt;/i&gt; Application and get our latest tweet but this is not our permanent solution .&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;To create Oath Header we need&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;1. Oath Settings - which we created using Twitter Application &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;2. Time Stamp&amp;nbsp; - when we create our oath request.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;3. Oath Nonce - create using 32 byte random alphanumeric characters.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;4. Oath Signature - create using HMAC-SHA1 encryption with Signing Key and Signature Based String (Secret Message).&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;5. Oath Creation - using above 4&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;6. HTTP request to User Time Line API to get latest Tweets.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Declare your Oath Settings values first:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/ae4b6c6157f734c9b7e5.js&quot;&gt;&lt;/script&gt;&lt;b&gt; &lt;u&gt;Now&amp;nbsp; Create Time Stamp and Oath nonce:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;Note: We can also create Timestamp using now() function too but I suggest you to first convert into GMT format time and then to epoch time.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/2042c0d317f0f5899409.js&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Now lets move to create Signing Key and Signing base string(Message)&amp;nbsp; using Percent Encoding which will be used to create Oath Signature using HMAC-SHA1 Encryption.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/6252709.js&quot;&gt;&lt;/script&gt;&lt;b&gt;&lt;u&gt;So our Signature Key and Signature base string(secret message) is ready. Lets pass these two to our function&amp;nbsp; called HmacSHA1 encryption to get Oath Signature.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;&quot;There is no MAC function Included in CF 9 but&lt;a href=&quot;https://learn.adobe.com/wiki/display/coldfusionen/HMac&quot; target=&quot;_blank&quot;&gt; CF 10 provides &lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; target=&quot;_blank&quot;&gt;HMAC &lt;/a&gt;function to achieve this. So Let&#39;s do it in CF 9 using&amp;nbsp; MAC and Secret Key class provided by JAVA to achieve it&quot; &lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/6253013.js&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;b&gt;&lt;u&gt;So our Final step is to create Oath Header and send this Oath Header via HTTP request to User Timeline API to get our latest tweet post.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/6253217.js&quot;&gt;&lt;/script&gt;
&lt;b&gt;This HTTP request will give our recent tweeter posts along with lots of details associated with it in JSON format&lt;/b&gt;.&amp;nbsp; &lt;br /&gt;
&lt;i&gt;To see our Twitter post we have to first deserialise this JSON response.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/6263966.js&quot;&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50-fq0PF5fRBCfXQKY8UlxWAR4elf1HOksYzWsw_aCk-p4rJUBs17FckvHECVwi7tTQ64VfUiEjIsqPKIMheLl5mFPNQWuApALfKjaDwgB9ZQ2bG66RCpioBPplru99j7v_QM5ZawQtWV/s1600/screen+7.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50-fq0PF5fRBCfXQKY8UlxWAR4elf1HOksYzWsw_aCk-p4rJUBs17FckvHECVwi7tTQ64VfUiEjIsqPKIMheLl5mFPNQWuApALfKjaDwgB9ZQ2bG66RCpioBPplru99j7v_QM5ZawQtWV/s1600/screen+7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
So we get our final o/p of latest Tweets posted by user. So now you can display latest tweet in web pages. This is same result which we got from &lt;b&gt;&lt;i&gt;shamApp &lt;/i&gt;&lt;/b&gt;application in &lt;a href=&quot;http://shamcf.blogspot.in/2013/08/get-latest-twit-posted-by-user-using.html&quot; target=&quot;_blank&quot;&gt;part1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;Goal Achieved :)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;
&lt;i&gt;&lt;b&gt;Useful Links:&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;a _fcksavedurl=&quot;https://apigee.com/console/twitter&quot; href=&quot;https://apigee.com/console/twitter&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;https://apigee.com/console/twitter&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt; (Major API console to debug )&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;a _fcksavedurl=&quot;http://quonos.nl/oauthTester/&quot; href=&quot;http://quonos.nl/oauthTester/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt; http://quonos.nl/oauthTester/&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt; (Signature Testing for Twitter)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;a _fcksavedurl=&quot;https://dev.twitter.com/docs/auth/authorizing-request&quot; href=&quot;https://dev.twitter.com/docs/auth/authorizing-request&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;https://dev.twitter.com/docs/auth/authorizing-request&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt; (Twitter Oath request)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;a _fcksavedurl=&quot;https://dev.twitter.com/docs/auth/creating-signature&quot; href=&quot;https://dev.twitter.com/docs/auth/creating-signature&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;https://dev.twitter.com/docs/auth/creating-signature&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;(Create Signature)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;a _fcksavedurl=&quot;http://en.wikipedia.org/wiki/Hash-based_message_authentication_code&quot; href=&quot;http://en.wikipedia.org/wiki/Hash-based_message_authentication_code&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt; http://en.wikipedia.org/wiki/Hash-based_message_authentication_code&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;(HMAC wiki)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;a _fcksavedurl=&quot;http://docs.oracle.com/javase/7/docs/api/javax/crypto/Mac.html.&quot; href=&quot;http://docs.oracle.com/javase/7/docs/api/javax/crypto/Mac.html.&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;http://docs.oracle.com/javase/7/docs/api/javax/crypto/Mac.html&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;i&gt;&lt;b&gt; (mac class provided by JAVA)&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;a href=&quot;http://docs.oracle.com/javase/7/docs/api/javax/crypto/spec/SecretKeySpec.html&quot;&gt;http://docs.oracle.com/javase/7/docs/api/javax/crypto/spec/SecretKeySpec.html&lt;/a&gt; (secretkey class provided by JAVA) &lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
Hope it will help you.&lt;br /&gt;
Happy Tweet :) &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/8795267342126385929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2013/08/get-latest-twit-posted-by-user-using_13.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/8795267342126385929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/8795267342126385929'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2013/08/get-latest-twit-posted-by-user-using_13.html' title='Get Recent Tweets using Twitter REST API v1.1 by ColdFusion - Part 2'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg50-fq0PF5fRBCfXQKY8UlxWAR4elf1HOksYzWsw_aCk-p4rJUBs17FckvHECVwi7tTQ64VfUiEjIsqPKIMheLl5mFPNQWuApALfKjaDwgB9ZQ2bG66RCpioBPplru99j7v_QM5ZawQtWV/s72-c/screen+7.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Bhubaneswar, Odisha, India</georss:featurename><georss:point>20.2960587 85.824539800000025</georss:point><georss:box>20.0577817 85.50181630000003 20.5343357 86.14726330000002</georss:box></entry><entry><id>tag:blogger.com,1999:blog-4490099601932567328.post-4329577309684108229</id><published>2013-08-13T04:41:00.000-07:00</published><updated>2013-08-18T22:45:20.167-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ColdFusion"/><category scheme="http://www.blogger.com/atom/ns#" term="HMAC-SHA1"/><category scheme="http://www.blogger.com/atom/ns#" term="Recent Tweets"/><category scheme="http://www.blogger.com/atom/ns#" term="Twitter Oath Creation"/><category scheme="http://www.blogger.com/atom/ns#" term="Twitter REST API V 1.1"/><title type='text'>Get Recent Tweets using Twitter REST API v1.1 by ColdFusion - Part 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Recently Twitter Published API V 1.1 in June 2013.&lt;br /&gt;
Twitter has made lots of changes in it to increase security Level&amp;nbsp; to prevent malicious use of the Twitter API. New API requires authentication on every API endpoint, that means every request to the API will be authenticated. &lt;span style=&quot;background-color: #e69138;&quot;&gt;Most Important they have dropped&amp;nbsp; XML, Atom, and RSS support and only functional with JSON support.&lt;/span&gt;&lt;br /&gt;
To know more about API v1.1. Please visit&lt;a href=&quot;https://dev.twitter.com/docs/api/1.1/overview&quot;&gt; https://dev.twitter.com/docs/api/1.1/overview&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In one of my Project I was showing Latest Twitter Post using RSS feed.&lt;br /&gt;
In June my client noticed that her Twitter Post are not displaying. In result I checked my code and found that.&lt;br /&gt;
RSS Feed URL:&lt;a href=&quot;https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=shamontwit&quot;&gt;https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=shamtwit&lt;/a&gt;&lt;br /&gt;
through an error &quot;&lt;span style=&quot;background-color: #e69138;&quot;&gt;The Twitter REST API v1 is no longer active.&lt;/span&gt; &quot;&lt;br /&gt;
This situation results me to explore API V 1.1 and to write this Blog.&lt;br /&gt;
&lt;br /&gt;
So, let&#39;s start. As we discuss earlier new API V 1.1 needs Oath&amp;nbsp; Authentication and will be fulfilled by creating an application in Twitter Account.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;1. Go to &lt;a href=&quot;https://dev.twitter.com/apps&quot;&gt;https://dev.twitter.com/apps&lt;/a&gt;, login with your twitter account.&lt;/b&gt;&lt;br /&gt;
2. &lt;b&gt;Click on &quot;Create a New Application button&quot;.&lt;/b&gt; Fill necessary details. (Website Field is must but we are not going to use as a source to create tweets for our application. Just add any local URL).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPsefvEOL3CJ9EuiNMuyaJxu-rr1J8s37GIvmwoRP_PQ78u8TszbRvQoX_AYkRQkHYeSmpn92OPXX3oO7pMPsGL9Z4JhrXtkIJTyY6xeO-wOkk1lDalcFN248pe01pVdftrVXBO2g_Q33l/s1600/Screen+-+1+Create+an+application.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPsefvEOL3CJ9EuiNMuyaJxu-rr1J8s37GIvmwoRP_PQ78u8TszbRvQoX_AYkRQkHYeSmpn92OPXX3oO7pMPsGL9Z4JhrXtkIJTyY6xeO-wOkk1lDalcFN248pe01pVdftrVXBO2g_Q33l/s320/Screen+-+1+Create+an+application.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3.We have created our Application &quot;shamApp&quot; with Consumer Key and Consumer Secret.&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Now create your Access Token and Access Token Secret.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibrQ5TQCQ1nNROInAG4hR2AckpFYI_5gLqVlXC8mDsC-bh0rovADHbKZ-qxiDpUnO5t_tJX-31ZqV8csGeSssMWZuyJh6hYyU5FBvuNi-B49bLowZyNwtuUB0xr19MeSPCx9nmJFwZ7qnL/s1600/Screen-2+-+Create+Accession+Token.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;512&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibrQ5TQCQ1nNROInAG4hR2AckpFYI_5gLqVlXC8mDsC-bh0rovADHbKZ-qxiDpUnO5t_tJX-31ZqV8csGeSssMWZuyJh6hYyU5FBvuNi-B49bLowZyNwtuUB0xr19MeSPCx9nmJFwZ7qnL/s640/Screen-2+-+Create+Accession+Token.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. &lt;b&gt;Your access Token is created now. Points to be noted here&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. Select HTTP method as GET&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b. Select Request URL as User Time Line&amp;nbsp; &lt;a href=&quot;https://api.twitter.com/1.1/statuses/user_timeline.json&quot;&gt;https://api.twitter.com/1.1/statuses/user_timeline.json&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; c. It is necessary to pass screen_name or user_id when requesting user timeline API.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; d. You can also pass number of tweet to be retrieved by passing value in &quot;count&quot; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e. Before Generating oauth Token, Please verify your settings.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; Please visit this Page for more overview &lt;a href=&quot;https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline&quot;&gt;https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSv8-N4OF_h5FNl6KhzzdgkQ08hRhuQJ1mcu46O_j6he40ixotbCRNWM1eFx8dIavZjEugNByhUdocFpCAe-0gX1xPwQ2PNx9vQioYe7711JgTjRD0eSe3j5svlwCMfQ_kUQ-mAMmmSZMP/s1600/Screen+3+-+oauth+Settings.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSv8-N4OF_h5FNl6KhzzdgkQ08hRhuQJ1mcu46O_j6he40ixotbCRNWM1eFx8dIavZjEugNByhUdocFpCAe-0gX1xPwQ2PNx9vQioYe7711JgTjRD0eSe3j5svlwCMfQ_kUQ-mAMmmSZMP/s640/Screen+3+-+oauth+Settings.png&quot; width=&quot;609&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. Oath Signature is created now (Valid for few minutes). &lt;/b&gt;Let&#39;s review two imp results&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;u&gt; Signature based String &lt;/u&gt;: This will be used to create Oath Signature using HMAC-SHA1&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; encryption which in-turn help us to create our Oath Header.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;u&gt;Oath Header :&amp;nbsp;&lt;/u&gt; Oath Header will be used to pass authorization request to User Time line&amp;nbsp; API to get&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; recent tweet posted by user.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; To explore more on Authorization, Please visit : &lt;a href=&quot;https://dev.twitter.com/docs/auth/authorizing-request&quot;&gt;https://dev.twitter.com/docs/auth/authorizing-request &lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIN0iWddp5heV5VhUwBi2qNy9ID8ePJVh6VQDFxQjcV8nH_n4SabL2sbi-KzPCFDvmBcLjidpEXZbNjIJ6c7P5b21vqTmW4fu9Vh-o9H5kTwAcaYMdPGPODNrSfROw70eX-mTHFquani1o/s1600/Screen-4+-+Oath+Created.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;294&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIN0iWddp5heV5VhUwBi2qNy9ID8ePJVh6VQDFxQjcV8nH_n4SabL2sbi-KzPCFDvmBcLjidpEXZbNjIJ6c7P5b21vqTmW4fu9Vh-o9H5kTwAcaYMdPGPODNrSfROw70eX-mTHFquani1o/s640/Screen-4+-+Oath+Created.png&quot; width=&quot;640&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Above&amp;nbsp; 6 steps finishes our Application Setup Creation, You just need to note down your Oath Settings to create Signature Based String, Oath Signature and Oath Header. Lets Check whether Oath Header created by &lt;b&gt;mySham &lt;/b&gt;Application able to get latest twitter post or not by posting HTTP request to User Timeline API.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;User Time Line API: https://api.twitter.com/1.1/statuses/user_timeline.json&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;HTTP Method: GET&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;HTTP Parameters: Count,user_id,Oath Header(created above)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Note: Be careful to give these parameters correct. If its wrong then Unauthorized access may come.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/shamGitHub/6263808.js&quot;&gt;&lt;/script&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Let&#39;s see response Header of this HTTP request&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #93c47d;&quot;&gt;&amp;lt;cfdump var=&quot;#cfhttp.responseheader#&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzAucvYs5hS_MlAtjf_s2cR0Lh3KJxbGdzoN59FkvrNWIvNPyR1buuO97uSPu3n43WJoNneU1go_CYNigyHrPjX8s6pJoLJybLXY38BHpYB0TU_mhAlPSZ6e0zE5t0SUuI7UhrVJXrI9BL/s1600/Screen+5+-+Respnse+Header.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;230&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzAucvYs5hS_MlAtjf_s2cR0Lh3KJxbGdzoN59FkvrNWIvNPyR1buuO97uSPu3n43WJoNneU1go_CYNigyHrPjX8s6pJoLJybLXY38BHpYB0TU_mhAlPSZ6e0zE5t0SUuI7UhrVJXrI9BL/s400/Screen+5+-+Respnse+Header.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
So our HTTP request to User Time Line is success with Status 200 OK.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Lets see what we get in File Content.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;lt;cfoutput&amp;gt;#cfhttp.fileContent#&amp;lt;/cfoutput&amp;gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxvuwFMhCfO2p8A2JrCPrVjBMjYcoMtbvLFkYM2M_W1b5N-j9MnVg_suF6txXScLnIk1Rgj4_-xnEjDOJI34RDhgBnI0x1XZHb0ivPyXTjRrzbApcrhjmM-ygTka5kvvi-fPBk9pTtONiQ/s1600/screen+6+json+output.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;112&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxvuwFMhCfO2p8A2JrCPrVjBMjYcoMtbvLFkYM2M_W1b5N-j9MnVg_suF6txXScLnIk1Rgj4_-xnEjDOJI34RDhgBnI0x1XZHb0ivPyXTjRrzbApcrhjmM-ygTka5kvvi-fPBk9pTtONiQ/s400/screen+6+json+output.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
You can see our data in JSON format. We have to Deserialize this JSON format to see our tweet post.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #93c47d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #93c47d;&quot;&gt;&amp;lt;cfloop from = 1 to = #arraylen(DeserializeJSON(cfhttp.fileContent))# index = &quot;i&quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;cfoutput&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Twit: #DeserializeJSON(cfhttp.fileContent)[i].text#&lt;br /&gt;&amp;nbsp; &amp;lt;/cfoutput&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;&amp;lt;/cfloop&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #93c47d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: #93c47d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;85&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhV7nacIZnrR-j33ejRwQG-R8McDcDj4twNaY94QaspS383XU0W_-NkqwZYR5VyZInm8KX6vhCEWTrJGGVxfaml9tUc7cdccEiMJCh54m9Ot6pLJsdkADgndjhlsZ3QvMhTNu2bVwH6Dxe/s640/screen+7.png&quot; width=&quot;640&quot; /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhV7nacIZnrR-j33ejRwQG-R8McDcDj4twNaY94QaspS383XU0W_-NkqwZYR5VyZInm8KX6vhCEWTrJGGVxfaml9tUc7cdccEiMJCh54m9Ot6pLJsdkADgndjhlsZ3QvMhTNu2bVwH6Dxe/s1600/screen+7.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt; &lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Here is our o/p shown above which shows latest 2 Tweets which I posted from my Twitter Account.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Not only you can get Latest Tweet from User Timeline but It also contains lot of Information like Date creation, Hash tags, comments etc.. &lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Q: Can we use this Response Header created by shamApp to get latest tweets every time we make request to UserTimeLine API ?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Answer is No. (When you run same code after an hr. It will show an error &quot;Time Stamp Out of Bound&quot;)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
When you check Response Header you will see Oath_nonce,oath_TimeStamp and Oath_Signature which are not present&amp;nbsp; while creating Application Settings. These 3 makes API v 1.1&amp;nbsp; more secure as these values are not same on each request. Oath_nonce(random 32 bytes of random data), Oath_TimeStamp(Timstamp value when request was created) and Oath_Signature (Created using HMAC-SHA1 encryption by passing &lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;Signature 
&lt;/span&gt;&lt;/span&gt;base string and Signature Key) are dynamic and It combines with some other oath settings to make Oath Header.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
So we have to do all this process though code base to achieve this.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Let&#39;s move on to my &lt;a href=&quot;http://shamcf.blogspot.in/2013/08/get-latest-twit-posted-by-user-using_13.html&quot;&gt;next Blog&lt;/a&gt; where we crate dynamic Oath Header for each request to be passed to get Latest Tweet&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shamcf.blogspot.com/feeds/4329577309684108229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shamcf.blogspot.com/2013/08/get-latest-twit-posted-by-user-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/4329577309684108229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4490099601932567328/posts/default/4329577309684108229'/><link rel='alternate' type='text/html' href='http://shamcf.blogspot.com/2013/08/get-latest-twit-posted-by-user-using.html' title='Get Recent Tweets using Twitter REST API v1.1 by ColdFusion - Part 1'/><author><name>Shambhu</name><uri>http://www.blogger.com/profile/06209463331489487130</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPsefvEOL3CJ9EuiNMuyaJxu-rr1J8s37GIvmwoRP_PQ78u8TszbRvQoX_AYkRQkHYeSmpn92OPXX3oO7pMPsGL9Z4JhrXtkIJTyY6xeO-wOkk1lDalcFN248pe01pVdftrVXBO2g_Q33l/s72-c/Screen+-+1+Create+an+application.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>