Re: Unable To display Arabic text fetched SQL Server 2008 database into my CFM page

2014-08-07 Thread Sathyanarayanan Ramanathan
Dear, Thanks for your replies. But still am facing issue. @Paul, Yes. I was using ODBC socket datasource to connect CF with SQL server database. In that the connection was successful but Arabic didn't display properly in CFM page.(In db the datatype is correctly used nvarchar and I can see

Issue Solved - Unable To display Arabic text fetched SQL Server 2008 database into my CFM page

2014-08-07 Thread Sathyanarayanan Ramanathan
Dear Friends, Finally the is solved. Thanks Bobby Paul. While adding datasource in CF administrator , in server field I was wrongly trying as localhost, now I changed to MICRO\SQLEXPRESS as server and db name in database field along with check box checked for Enable High ASCII characters and

Re: Unable To display Arabic text fetched SQL Server 2008 database into my CFM page

2014-08-07 Thread Paul Hastings
On 8/7/2014 1:34 PM, Sathyanarayanan Ramanathan wrote: Yes. I was using ODBC socket datasource to connect CF with SQL server well you can stop now. Driver]Error establishing socket to host and port: 127.0.0.1:1433. use real IP or server name instead of 127.0.0.1. if you're using an

Re: (Semi-OT) - site sucker app

2014-08-07 Thread C. Hatton Humphrey
On Wed, Aug 6, 2014 at 9:06 PM, Gerald Guido gerald.gu...@gmail.com wrote: http://www.httrack.com/ is, IMHO, outstanding. +1 for this tool Until Later! C. Hatton Humphrey http://www.eastcoastconservative.com Every cloud does have a silver lining. Sometimes you just have to do some

Re: Auto File Uploading...

2014-08-07 Thread Dave Watts
This isn't the right tool for the job. But this code seems to work. !DOCTYPE html html head title/title /head body cfif StructKeyExists(FORM , 'fieldnames') cfdump var=#FORM# / scriptsetTimeout(function(){window.history.back();} , 2000);/script cfelse

expire application variable

2014-08-07 Thread John M Bliss
I have a case where I need to have an application variable expire after a known amount of time. Do you have a favorite method for doing this? I was thinking of something like: application.thevar = structnew(); application.thevar.createtick = gettickcount(); application.thevar.thevalue = foo;

Re: expire application variable

2014-08-07 Thread Carl Von Stetten
Are you on ColdFusion 9+? Why not use the built-in cache functionality (cachePut(), cacheGet(), etc.)? If you are on ColdFusion 10+, you can even put related objects into a cache region and manually flush that region using CacheRemoveAll( region ) . -Carl V. On 8/7/2014 1:06 PM, John M

Re: expire application variable

2014-08-07 Thread John M Bliss
Sweet. Thanks! On Aug 7, 2014 5:51 PM, Carl Von Stetten vonner.li...@vonner.net wrote: Are you on ColdFusion 9+? Why not use the built-in cache functionality (cachePut(), cacheGet(), etc.)? If you are on ColdFusion 10+, you can even put related objects into a cache region and manually

Re: Auto File Uploading...

2014-08-07 Thread Ricardo Russon
Interesting point Dave. But I just tested on Chrome (Mac) and it does pick up the changed file. On Fri, Aug 8, 2014 at 12:17 AM, Dave Watts dwa...@figleaf.com wrote: This isn't the right tool for the job. But this code seems to work. !DOCTYPE html html head title/title /head

Re: Auto File Uploading...

2014-08-07 Thread Ricardo Russon
And again, I don't think this would be the right tool for the job. I just also thought that it wouldn't (shouldn't) work and had to try it out. I would probably go for rsync or something similar. On Fri, Aug 8, 2014 at 10:06 AM, Ricardo Russon ricardo.rus...@gmail.com wrote: Interesting

Re: Auto File Uploading...

2014-08-07 Thread Dave Watts
Interesting point Dave. But I just tested on Chrome (Mac) and it does pick up the changed file. I'm surprised! But that's interesting to know, so thanks! Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a