Re: checking for encryption
Thanks Matt, Worked like a charm Rob On 25 May 2013 at 12:31, Matt Quackenbush wrote: > > Try/catch around the decryption? If you get that known message you > could > ignore it and move on. > > I'm not saying this is a good solution, but could get you going. The > main > issue would be if the key was changed or something like that, it'd > hit the > same exception. > > Off the top of my head I am not aware of anything that specifically > checks > for encryption. I don't use that stuff much. There might be > something in > the underlying Java that you can get at. > > HTH > > Sent from my Samsung Galaxy SII > On May 25, 2013 12:25 PM, "Rob Voyle" wrote: > > > > > Hi Folks > > > > I have a variable that may or may not be encrypted. > > How do I test for the encryption. > > > > If I try to decrypt it when its not encrypted I get an error > message "The > > input > > and output encodings are not same.. " > > > > Thanks > > Rob > > > > > > > > > ~| > Order the Adobe Coldfusion Anthology now! > http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag= > houseoffusion > Archive: > http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:35 > 5841 > Subscription: > http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: > http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355844 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion 8 erratic behavior
Thanks. But no, the db queries are fast. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355843 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Issue with accessing session vars from CFCs after upgrading to CF 10
Having a weird issue since upgrading from CF 901 to 10. I'm calling CFC files over HTTP (using Ext/Sencha) and it seems when I do, I lose the session scope alltogether. The CFCs are set to allow remote access and were all working just fine before the upgrade. I know the session scope is there, because if I run a standard CFM on the server, all is well and I can dump the session, and work with session vars. I'm pulling my hair out and was wondering if anyone has any ideas. Here are the install stats: CF 10 Enterprise running on Linux, web server is iPlanet/Oracle version 7.0.17, and we are clustering. Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355842 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: checking for encryption
Try/catch around the decryption? If you get that known message you could ignore it and move on. I'm not saying this is a good solution, but could get you going. The main issue would be if the key was changed or something like that, it'd hit the same exception. Off the top of my head I am not aware of anything that specifically checks for encryption. I don't use that stuff much. There might be something in the underlying Java that you can get at. HTH Sent from my Samsung Galaxy SII On May 25, 2013 12:25 PM, "Rob Voyle" wrote: > > Hi Folks > > I have a variable that may or may not be encrypted. > How do I test for the encryption. > > If I try to decrypt it when its not encrypted I get an error message "The > input > and output encodings are not same.. " > > Thanks > Rob > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355841 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
checking for encryption
Hi Folks I have a variable that may or may not be encrypted. How do I test for the encryption. If I try to decrypt it when its not encrypted I get an error message "The input and output encodings are not same.. " Thanks Rob ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355840 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion 8 erratic behavior
Like Russ said, check the stack. If you can't seem to catch it, you can set up FusionReactor to send you notifications (that include the stack trace) when threads hit a certain time in their life span. You said you didn't think it was DB. How did you determine that? Does it mean you are using the FusionReactor JDBC wrapper on the datasource? If not, then I suggest doing that so you can get a full picture of what's going on with the DB actions in your request. On 5/24/13 8:39 PM, "Richard Steele" wrote: > >How can I determine what causes a coldfusion 8 page to be fast loading >sometimes and other times, extremely slow? The server seems to have >enough memory and the traffic is not high. The db query part of the page >is fast according to Fusion Reactor. I don't see any leads in the Fusion >Reactor Request Detail. What else should I check? Thanks in advance. >Rick > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355839 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm