Re: Crossed Accounts Issue

2012-02-02 Thread Jochem van Dieten
On Wed, Feb 1, 2012 at 4:28 PM, Eric Williams wrote: > >        if(NOT IsDefined("APPLICATION.oUser")){ >                 > APPLICATION.oUser=CreateObject("component","#APPLICATION.G.CFC_PATH#User"); >        } >        APPLICATION.oUser.DSN=this.DSN; >         >         session.RetAuth=APPLICATI

Re: cfinput toggle readonly or disabled

2012-02-02 Thread Seamus Campbell
Thanks for that - I'll use your option 1 - I did think of that but it didn't seem particularly elegant, but it's simple and it works. And I can't get option 2 to work > It worked for me in Chrome, but didn't test in other browsers. > > Two other options are: > > 1) Put your cfinput in an if/e

Re: Santizing User Input

2012-02-02 Thread Gerald Guido
Sorry for the OT post but I could not help but think of "Little Bobby Tables". http://imgs.xkcd.com/comics/exploits_of_a_mom.png G! On Thu, Feb 2, 2012 at 9:42 PM, Andrew Grosset wrote: > > I second that. > > >The AntiSamy project is maybe the best way to sanitize any user input out > >there.

Re: Santizing User Input

2012-02-02 Thread Andrew Grosset
I second that. >The AntiSamy project is maybe the best way to sanitize any user input out >there. > > >-- >Regards, >Andrew Scott >WebSite: http://www.andyscott.id.au/ >Google+: http://plus.google.com/108193156965451149543 > > > > >On Thu, Feb 2, 2012 at 8:33 AM, douglas cohn wrote: > >>

Re: Santizing User Input

2012-02-02 Thread Andrew Grosset
>The AntiSamy project is maybe the best way to sanitize any user input out >there. > > >-- >Regards, >Andrew Scott >WebSite: http://www.andyscott.id.au/ >Google+: http://plus.google.com/108193156965451149543 > > > > >On Thu, Feb 2, 2012 at 8:33 AM, douglas cohn wrote: > >>

Re: Crossed Accounts Issue

2012-02-02 Thread priya23a24
Is it no possible that you set your data to session once you knw the data is validated so that it uses the data passed in your argument and b'se you already have a clock inside it will prevent race condition. Return true if validated and set to session else return false. In that way you knw if

Re: Video Processing?

2012-02-02 Thread Steve Bryant
Peter, They are really basic at this point, but I figure some documentation is better than no documentation. If anyone has any questions, I'll amend the file or add documentation accordingly. Thanks, Steve >Hello Steve and everyone, > >Bring on the docs please. > >Peter Donahue > >I just rec

Re: cfinput toggle readonly or disabled

2012-02-02 Thread .jonah
It worked for me in Chrome, but didn't test in other browsers. Two other options are: 1) Put your cfinput in an if/else with/without that attributes. 2) Pass all the attributes in as an attributeCollection [1] [1] http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172

Re: Video Processing?

2012-02-02 Thread Steve Bryant
Justin, I'll work on docs for my solution soon. In the meantime, you might also look at PandaStream if you are willing to use 3rd party pay-per-use libraries. http://www.pandastream.com/ Steve >@Mack - Thanks for the confirmation, that lets me know it's possible >which is a good start. > >@St

Re: Invisible Scheduled Task

2012-02-02 Thread Matthew Gersting
Hey, all - thanks for the ideas. I ended up manually going through the neo-cron.xml file for all our many, many instances and finally found it - it was in a very old instance that had been re-purposed a long time ago. ~| Orde

Re: Video Processing?

2012-02-02 Thread Justin Scott
@Mack - Thanks for the confirmation, that lets me know it's possible which is a good start. @Steve - Interesting, I will take a look at that as soon as I can. If it's just a wrapper for ffmpeg I can probably extend it to handle stitching if needed. @Ray - Thanks for the suggestion. I had e-mai

Re: Session info lost on BlackBerry

2012-02-02 Thread Brian McCairn
Is it connected to http://kb2.adobe.com/cps/181/tn_18171.html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/

Re: Opinion: Abuse of session variables

2012-02-02 Thread Russ Michaels
of course for a newbie that has no idea what a race condition is, in todays "PC" society they might take that as an insult :-) On Thu, Feb 2, 2012 at 3:22 PM, Raymond Camden wrote: > > I'd also argue that sometimes race conditions may not matter. > > Consider a session variable that tracks the #

RE: Session info lost on BlackBerry

2012-02-02 Thread Paul Giesenhagen
Have you tried: Paul -Original Message- From: Joshua Rowe [mailto:jos...@nvisionweb.com] Sent: Thursday, February 02, 2012 10:57 AM To: cf-talk Subject: Session info lost on BlackBerry This is a ColdFusion/mobile question. I have a simple web app with a login page. User types t

Session info lost on BlackBerry

2012-02-02 Thread Joshua Rowe
This is a ColdFusion/mobile question. I have a simple web app with a login page. User types their login info, session info is assigned, and they're taken to a projects page. This works fine, but when I try to setup an auto-login (user clicks a bookmark on their home screen that passes a user

Re: Working with an API - help

2012-02-02 Thread jack Lemay
This all great info guys. Thanks! I don't quite have the big picture clear in my head. I think they have a server in their office running the software and database that supports the API. Can I access the data via the API using CF on any remote server? Do I need to install the COM object on t

Re: Video Processing?

2012-02-02 Thread Peter Donahue
Hello Steve and everyone, Bring on the docs please. Peter Donahue - Original Message - From: "Steve Bryant" To: "cf-talk" Sent: Thursday, February 02, 2012 10:09 AM Subject: Re: Video Processing? I just recently wrapped up the code for a ColdFusion library that wraps ffmpeg.exe t

Re: Video Processing?

2012-02-02 Thread Raymond Camden
Also take a look at Zencoder. Allows you to do all your video stuff via the cloud. They have a darn nice API too. http://www.raymondcamden.com/index.cfm/2011/4/26/Video-encoding-with-Zencoder On Tue, Jan 31, 2012 at 12:03 PM, Justin Scott wrote: > > Hi all, I am curious if anyone has hands-on

Re: Video Processing?

2012-02-02 Thread Steve Bryant
I just recently wrapped up the code for a ColdFusion library that wraps ffmpeg.exe to transcode videos to any formats needed and uses the "Video for Everybody" output for HTML that serves up video for, well, everybody. ;-) No docs yet, but if this looks like something that would be helpful I ca

Re: Opinion: Abuse of session variables

2012-02-02 Thread Raymond Camden
I'd also argue that sometimes race conditions may not matter. Consider a session variable that tracks the # of pages you have viewed in your session. If I pop open a new tab and start reloading them both like crazy, it's possible the values may end up borked. But do we care? No. If it's just a si

Re: the ##2 will not print with Bar Code 39 f HR cfprint comand

2012-02-02 Thread Mack
> Yes, it prints from the server fine if I open the pdf and print from acrobat > reader. it just wont print the #2 with the cfprint command. Can you put somewhere a copy of the PDF with the problem ? -- Mack ~| Order the Adob

Re: Opinion: Abuse of session variables

2012-02-02 Thread Cameron Childress
On Wed, Feb 1, 2012 at 7:37 PM, James Holmes wrote: > Race conditions in session variables can only occur when two requests from > the same session execute concurrently. This is more likely with ajax > requests or framesets. Since everyone uses ajax requests these days (even > though no-one uses

Re: Video Processing?

2012-02-02 Thread Mack
I've used ffmpeg for transcoding and appending videos to one another so if you're requirements are to transcode and append then ffmpeg will work nicely in my experience. I think you can also insert one video into another by splitting the second video and appending the parts in the right order. --

Re: cfinput toggle readonly or disabled

2012-02-02 Thread Seamus Campbell
Thanks - but no, the form only needs to see the word disabled ie disabled = "false" still disables the form (same with readonly) >It seems you should be able to do: > >disabled="#form_editable#"/> > >On 2/2/12 12:54 AM, Seamus Campbell wrote: >>

Re: cfinput toggle readonly or disabled

2012-02-02 Thread .jonah
It seems you should be able to do: On 2/2/12 12:54 AM, Seamus Campbell wrote: > Hi > I want to be able to toggle disabled in my form fields. > I have this code > > > > > > Then > > but it errors on the #form_editable# > Is there anyway I can have either disabled or nothing in a cfinput fi

cfinput toggle readonly or disabled

2012-02-02 Thread Seamus Campbell
Hi I want to be able to toggle disabled in my form fields. I have this code Then but it errors on the #form_editable# Is there anyway I can have either disabled or nothing in a cfinput field (the code does work if I don't use cfinput just input, but I want the error checking with cfinput