Re: Data Encryption

2011-04-04 Thread Richard White

basically our security entails a VPN between the database server and software 
server, firewalls, application firewalls, an SSL between the client machine and 
software server, and all of the usual CF security... however there are rules in 
some countries that medical data must be encrypted in the database, i agree 
that i cannot see the threat this directly targets!

 


  And don't forget the network traffic between the server and the DB. Which
  can be encrypted using MS encryption libraries for a ... ahem ... small 
  fee.

 It doesn't cost anything (except your time) to set up an IPsec tunnel
 between two Windows machines. And SQL Server natively supports SSL/TLS
 as well.

But more to the point, yes, that's another threat profile to consider.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite. 

~|
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:343517
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cferror tag with type exception not working

2011-04-04 Thread Jay Pandya

In my local when i am using cferror tag with type as exception then it is 
showing proper error message etc but in production it is not working.type as 
request work there.But my goal of sending email to admin when error occurs is 
not full filling.I have searched on Google and every forum,though i have not 
get any solution.CF8. Do i need to make any changes in the web-inf folder 
etc..Any patch need to be installed?

Operating system is windows 2003
Server IIS
Coldfusion Version  : CF8

Any idea? Please let me know if anybody have any resolution. 

~|
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:343518
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF9 cfexecute issues.

2011-04-04 Thread Rick Faircloth

Hi, Michael...

Have you eliminated the possibility that some of the
files you working with on this run through are causing
problems?

Did you run these files through CF8 to see if they work
there?

I haven't worked with converting images  avi  mpg, so I
have no experience with the process, but thought it could
perhaps be a corrupt source file causing a problem.

Rick


-Original Message-
From: Michael Reick [mailto:mich...@widgethq.com] 
Sent: Monday, April 04, 2011 1:45 AM
To: cf-talk
Subject: CF9 cfexecute issues.


Let me just say I hate CF9 so far. I just upgraded from CF7 and it's been an
absolute nightmare.

The current nightmare I'm dealing with is a template that will not return or
timeout.

I've got a global timeout set in the admin.

I've tried setting a page timeout with cfsetting requesttimeout.

On the template itself, I've got a bunch of cfexecutes doing command line
batch processing.
Roughly 30 doing imageMagick image manipulations (which I could probably
combine into one batch file, now that I think about it.)
And two problem children.  One that runs a batch file that converts the
images into an .avi file.  This one takes awhile, about 9 minutes.
And a second batch file that runs ffmpeg to add an mp3 file and convert that
avi into an mpg.

I've tried putting timeouts on the cfexecutes for the last two and nothing.
The page never returns.  The thread shows up in Server Monitor, and goes
away 10 minutes or so later,
but the page just hangs.  I've even tried putting a cfabort after the last
cfexecute, but nothing. The log file just shows the steps in the batch file,
which is simply migrating 
to the directory and calling the .vbs file, or ffmpeg on the appropriate
files.  When I run the bat files on the server logging in with the same
account 
as CF runs under, the command prompt pops up for the appropriate amount of
time, then goes away.

cfexecute name=c:\windows\system32\cmd timeout=600 arguments=/c
#pathToBatFile#createAVI.bat outputFile=c:\logs\createAVI#IDField#.txt /

Once I get it running correctly, I'll probably move it to another server and
schedule it, but I need it working correctly first.

Any ideas?  I'm going nuts here. 



~|
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:343519
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: DoD CAC authentication

2011-04-04 Thread mikey graziano

 One way...
 
 CFSET usersCert = GetPageContext().getRequest().getAttribute(javax.
 servlet.request.X509Certificate)/
 
 CFSET usersEmail = usersCert[1].getSubjectAlternativeNames() / 


Are there a way to select the part of the usersEmail data as email? I have 
tried but there are 4 different results. one of the results is reversed 

~|
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:343520
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


SOT: jquery(ui) menu

2011-04-04 Thread John M Bliss

What's your current favorite approach/plugin to build jquery / jqueryui
menus...the kind where you hover over/click on page element X and some
clickable options appear below X.

This: http://plugins.jquery.com/plugin-tags/menu has numerous plugins listed
but no sort by popularity / rating.

-- 
John Bliss - http://about.me/jbliss


~|
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:343521
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: SOT: jquery(ui) menu

2011-04-04 Thread Arsalan Tariq Keen

This one is really good for the hover menu.
http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-a-kick-butt-css3-mega-drop-down-menu/?utm_source=feedburnerutm_medium=feedutm_campaign=Feed%3A+nettuts+%28Nettuts%2B%29utm_content=Netvibes
if you tweak it a bit with jQuery, you can make it onClick appear.
Remember... menus are usually simple DIVs which are made to appear as a 
response to a click or hover action.

Regards,
Arsalan
 
 



 To: cf-talk@houseoffusion.com
 Subject: SOT: jquery(ui) menu
 Date: Mon, 4 Apr 2011 09:21:05 -0500
 From: bliss.j...@gmail.com
 
 
 What's your current favorite approach/plugin to build jquery / jqueryui
 menus...the kind where you hover over/click on page element X and some
 clickable options appear below X.
 
 This: http://plugins.jquery.com/plugin-tags/menu has numerous plugins listed
 but no sort by popularity / rating.
 
 -- 
 John Bliss - http://about.me/jbliss
 
 
 

~|
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:343522
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session Variable question

2011-04-04 Thread Richard White

cfset cfT = cookie.CFTOKEN /
cfset cfI = cookie.CFID /
cfcookie name=CFTOKEN value=cfT /
cfcookie name=CFIDE value=cfI /

i Recently found that this does not work in chrome but was unable to find a 
reason or a solution



~|
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:343523
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: jquery(ui) menu

2011-04-04 Thread Jerry Barnes

I use click menu.

http://p.sohei.org/jquery-plugins/clickmenu/

I like it since by default it does not fly out on a mouse over.  No
modification necessary.


J

-

Ninety percent of politicians give the other ten percent a bad reputation. -
Henry Kissinger

Politicians are people who, when they see light at the end of the tunnel, go
out and buy some more tunnel. - John Quinton


~|
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:343524
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 cfexecute issues.

2011-04-04 Thread Russ Michaels

are the batch files actually being executed and doing their job?
Are any errors occurring in the batch file ?
you need to do some tests to determine what is causing the problem.
Make a simple batch file that does something basic like an echo command or
somehting, and see if that works,
If not, then it would tell you that executing batch file sis the problem or
cfexecute itself.

If it does work, then try doing the original image manipulation but just 1
image and see if that works.
Then work forward from here, if 1 image works, then increase the iterations
of images processed until you get the problem, and then check if it was just
perhaps that image causing a problem, or does it seem related to number of
iterations, oer perhaps it could be the time it takes to execute,
If you gradually exclude all the possible causes, you should be left with
the prime suspect.





On Mon, Apr 4, 2011 at 2:30 PM, Rick Faircloth r...@whitestonemedia.comwrote:


 Hi, Michael...

 Have you eliminated the possibility that some of the
 files you working with on this run through are causing
 problems?

 Did you run these files through CF8 to see if they work
 there?

 I haven't worked with converting images  avi  mpg, so I
 have no experience with the process, but thought it could
 perhaps be a corrupt source file causing a problem.

 Rick


 -Original Message-
 From: Michael Reick [mailto:mich...@widgethq.com]
 Sent: Monday, April 04, 2011 1:45 AM
 To: cf-talk
 Subject: CF9 cfexecute issues.


 Let me just say I hate CF9 so far. I just upgraded from CF7 and it's been
 an
 absolute nightmare.

 The current nightmare I'm dealing with is a template that will not return
 or
 timeout.

 I've got a global timeout set in the admin.

 I've tried setting a page timeout with cfsetting requesttimeout.

 On the template itself, I've got a bunch of cfexecutes doing command line
 batch processing.
 Roughly 30 doing imageMagick image manipulations (which I could probably
 combine into one batch file, now that I think about it.)
 And two problem children.  One that runs a batch file that converts the
 images into an .avi file.  This one takes awhile, about 9 minutes.
 And a second batch file that runs ffmpeg to add an mp3 file and convert
 that
 avi into an mpg.

 I've tried putting timeouts on the cfexecutes for the last two and nothing.
 The page never returns.  The thread shows up in Server Monitor, and goes
 away 10 minutes or so later,
 but the page just hangs.  I've even tried putting a cfabort after the
 last
 cfexecute, but nothing. The log file just shows the steps in the batch
 file,
 which is simply migrating
 to the directory and calling the .vbs file, or ffmpeg on the appropriate
 files.  When I run the bat files on the server logging in with the same
 account
 as CF runs under, the command prompt pops up for the appropriate amount of
 time, then goes away.

 cfexecute name=c:\windows\system32\cmd timeout=600 arguments=/c
 #pathToBatFile#createAVI.bat outputFile=c:\logs\createAVI#IDField#.txt
 /

 Once I get it running correctly, I'll probably move it to another server
 and
 schedule it, but I need it working correctly first.

 Any ideas?  I'm going nuts here.



 

~|
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:343525
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cferror tag with type exception not working

2011-04-04 Thread Russ Michaels

trying setting the type to any and then it will show you the error and you
will be able to see what the error type is, maybe a different error is
occurring and it is not an exception type.


On Mon, Apr 4, 2011 at 10:35 AM, Jay Pandya jaypandy...@gmail.com wrote:


 In my local when i am using cferror tag with type as exception then it is
 showing proper error message etc but in production it is not working.type as
 request work there.But my goal of sending email to admin when error occurs
 is not full filling.I have searched on Google and every forum,though i have
 not get any solution.CF8. Do i need to make any changes in the web-inf
 folder etc..Any patch need to be installed?

 Operating system is windows 2003
 Server IIS
 Coldfusion Version  : CF8

 Any idea? Please let me know if anybody have any resolution.

 

~|
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:343526
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Button

2011-04-04 Thread Russ Michaels

using an IFRAME is how we did AJAX and Web Services before it was called
AJAX and Web Services, it is the same thing really :-)


On Mon, Apr 4, 2011 at 2:37 AM, Rick Faircloth r...@whitestonemedia.comwrote:


 Ok... glad you got it figured out!


 -Original Message-
 From: Rick T [mailto:rtuinenb...@gmail.com]
 Sent: Sunday, April 03, 2011 8:47 PM
 To: cf-talk
 Subject: Re: Button


 Actually I figured out how to do this very simply by using an Iframe.
 The jQuery route carried lots of overhead.

 Rick

 Hi, Rick...
 
 What do exactly do you mean by it sends information to another
 site that records the data ?
 
 Is the information going to a database, or what?
 
 I can help you with coding this, but I'll need to know exactly
 what's happening with the data. I do all my ajax stuff sending
 data to a database, so I'm not sure about this part.
 
 
 I am not a JQuery pro to make something from scratch, any JQuery script
 code
 out there that I can modify to meet my needs?
 
 
 
 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:343527
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Data Encryption

2011-04-04 Thread Cameron Childress

On Mon, Apr 4, 2011 at 5:16 AM, Richard White rich...@j7is.co.uk wrote:

 basically our security entails a VPN between the database server and
 software server, firewalls, application firewalls, an SSL between the client
 machine and software server, and all of the usual CF security... however
 there are rules in some countries that medical data must be encrypted in the
 database, i agree that i cannot see the threat this directly targets!


I'd look a little deeper into the specific requirement before going to a
blanket goal to encrypt everything.  I suspect only certain medical data
needs to be protected, and/or only personally identifiable medical
information.  Primary keys (for example) are not medical information.

-Cameron

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: camer...@gmail.com


~|
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:343528
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Button

2011-04-04 Thread Rick Faircloth

Russ... I certainly don't claim to be an expert
on AJAX and certainly not web services (since I've never
written a true web service (SOAP or REST or whatever...).

But the only time I use an iframe for faux ajax (generic use
of the term, meaning only that data is transferred without the
refresh of a page) is when I have to upload a file, since true AJAX
won't handle a file.

I just want to make sure my understanding is correct in that
true AJAX doesn't involve an iFrame and the only time one need
make use of an iFrame for ajax is when a file has to be transferred.

Note, that I said the only time an iFrame is needed is for the
transfer of a file, not that it can't be used for faux ajax all the time.

Would this be correct?  I just don't want my understanding to
be incorrect...

Thanks!

Rick


-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Monday, April 04, 2011 12:10 PM
To: cf-talk
Subject: Re: Button


using an IFRAME is how we did AJAX and Web Services before it was called
AJAX and Web Services, it is the same thing really :-)


On Mon, Apr 4, 2011 at 2:37 AM, Rick Faircloth
r...@whitestonemedia.comwrote:


 Ok... glad you got it figured out!


 -Original Message-
 From: Rick T [mailto:rtuinenb...@gmail.com]
 Sent: Sunday, April 03, 2011 8:47 PM
 To: cf-talk
 Subject: Re: Button


 Actually I figured out how to do this very simply by using an Iframe.
 The jQuery route carried lots of overhead.

 Rick

 Hi, Rick...
 
 What do exactly do you mean by it sends information to another
 site that records the data ?
 
 Is the information going to a database, or what?
 
 I can help you with coding this, but I'll need to know exactly
 what's happening with the data. I do all my ajax stuff sending
 data to a database, so I'm not sure about this part.
 
 
 I am not a JQuery pro to make something from scratch, any JQuery script
 code
 out there that I can modify to meet my needs?
 
 
 
 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:343529
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Button

2011-04-04 Thread Dave Watts

 I just want to make sure my understanding is correct in that
 true AJAX doesn't involve an iFrame and the only time one need
 make use of an iFrame for ajax is when a file has to be transferred.

 Note, that I said the only time an iFrame is needed is for the
 transfer of a file, not that it can't be used for faux ajax all the time.

 Would this be correct?  I just don't want my understanding to
 be incorrect...

Your understanding is correct. The A in AJAX stands for
asynchronous, and is used to refer to using XmlHttpRequest to make
requests in the background rather than by changing the location of a
window. XmlHttpRequest doesn't support file uploads, which is why you
have to handle file uploads differently.

Before XmlHttpObject was introduced, web developers used iframes and
frames to do all the same sorts of things.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite

~|
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:343530
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Button

2011-04-04 Thread Rick Faircloth

Ok... thanks for verifying, Dave!

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Monday, April 04, 2011 12:54 PM
To: cf-talk
Subject: Re: Button


 I just want to make sure my understanding is correct in that
 true AJAX doesn't involve an iFrame and the only time one need
 make use of an iFrame for ajax is when a file has to be transferred.

 Note, that I said the only time an iFrame is needed is for the
 transfer of a file, not that it can't be used for faux ajax all the
time.

 Would this be correct?  I just don't want my understanding to
 be incorrect...

Your understanding is correct. The A in AJAX stands for
asynchronous, and is used to refer to using XmlHttpRequest to make
requests in the background rather than by changing the location of a
window. XmlHttpRequest doesn't support file uploads, which is why you
have to handle file uploads differently.

Before XmlHttpObject was introduced, web developers used iframes and
frames to do all the same sorts of things.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite



~|
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:343531
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cferror tag with type exception not working

2011-04-04 Thread Jay Pandya

trying setting the type to any and then it will show you the error and you
will be able to see what the error type is, maybe a different error is
occurring and it is not an exception type.

I all ready tried those things.If i put the type as exception and exception as 
any though,i am not getting error handling page.It is showing normal error page 
only. 

~|
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:343532
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cferror tag with type exception not working

2011-04-04 Thread Jay Pandya

trying setting the type to any and then it will show you the error and you
will be able to see what the error type is, maybe a different error is
occurring and it is not an exception type.


All ready tried with exception as any.But when i am using type as exception it 
is showing normal error page only.Not exception handling page.


~|
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:343533
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cferror tag with type exception not working

2011-04-04 Thread Russ Michaels

are you sure the error template you are pointing to exists at the path
specified in the CFERROR tag, and does not contain any errors itself ?
what happens if you browse directly to the error template ?


On Mon, Apr 4, 2011 at 7:06 PM, Jay Pandya jaypandy...@gmail.com wrote:


 trying setting the type to any and then it will show you the error and you
 will be able to see what the error type is, maybe a different error is
 occurring and it is not an exception type.
 

 All ready tried with exception as any.But when i am using type as exception
 it is showing normal error page only.Not exception handling page.


 

~|
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:343534
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Button

2011-04-04 Thread Judah McAuley

And while there isn't anything inherently bad about iframes, people
considering that route should look into the potential security issues
involved. Browsers have really tightened up their security around
hidden iframes, cross domain http communication, cross domain cookies,
etc. Once again, not necessarily wrong, per se, but you very well
wander into an annoying set of problems that you might be able to
avoid using an ajax framework like JQuery or Dojo.

Cheers,
Judah

On Mon, Apr 4, 2011 at 9:53 AM, Dave Watts dwa...@figleaf.com wrote:

 I just want to make sure my understanding is correct in that
 true AJAX doesn't involve an iFrame and the only time one need
 make use of an iFrame for ajax is when a file has to be transferred.

 Note, that I said the only time an iFrame is needed is for the
 transfer of a file, not that it can't be used for faux ajax all the time.

 Would this be correct?  I just don't want my understanding to
 be incorrect...

 Your understanding is correct. The A in AJAX stands for
 asynchronous, and is used to refer to using XmlHttpRequest to make
 requests in the background rather than by changing the location of a
 window. XmlHttpRequest doesn't support file uploads, which is why you
 have to handle file uploads differently.

 Before XmlHttpObject was introduced, web developers used iframes and
 frames to do all the same sorts of things

~|
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:343535
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Button

2011-04-04 Thread Russ Michaels

security measures that block cross domain communication would also block
XmlHttpRequest as well, otherwise it would be pointless.


On Mon, Apr 4, 2011 at 7:20 PM, Judah McAuley ju...@wiredotter.com wrote:


 And while there isn't anything inherently bad about iframes, people
 considering that route should look into the potential security issues
 involved. Browsers have really tightened up their security around
 hidden iframes, cross domain http communication, cross domain cookies,
 etc. Once again, not necessarily wrong, per se, but you very well
 wander into an annoying set of problems that you might be able to
 avoid using an ajax framework like JQuery or Dojo.

 Cheers,
 Judah

 On Mon, Apr 4, 2011 at 9:53 AM, Dave Watts dwa...@figleaf.com wrote:
 
  I just want to make sure my understanding is correct in that
  true AJAX doesn't involve an iFrame and the only time one need
  make use of an iFrame for ajax is when a file has to be transferred.
 
  Note, that I said the only time an iFrame is needed is for the
  transfer of a file, not that it can't be used for faux ajax all the
 time.
 
  Would this be correct?  I just don't want my understanding to
  be incorrect...
 
  Your understanding is correct. The A in AJAX stands for
  asynchronous, and is used to refer to using XmlHttpRequest to make
  requests in the background rather than by changing the location of a
  window. XmlHttpRequest doesn't support file uploads, which is why you
  have to handle file uploads differently.
 
  Before XmlHttpObject was introduced, web developers used iframes and
  frames to do all the same sorts of things

 

~|
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:343536
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Button

2011-04-04 Thread Judah McAuley

On Mon, Apr 4, 2011 at 11:45 AM, Russ Michaels r...@michaels.me.uk wrote:

 security measures that block cross domain communication would also block
 XmlHttpRequest as well, otherwise it would be pointless.


Yes, in general, but with XmlHttpRequest you can get around some of
the restrictions by the use of JSONP.  That gets into a lot more than
most people want to do and JSONP may be subject to the same origin
rules in the future but browser security is definitely an evolving
area. Something you push out there today that works may be blocked a
month from now.

Judah

~|
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:343537
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Button

2011-04-04 Thread Rick T

I simply put the variables in the URL of the Iframe SRC.  Simple and effective.
The data is not sensitive so no problems.



 security measures that block cross domain communication would also block
 XmlHttpRequest as well, otherwise it would be pointless.


Yes, in general, but with XmlHttpRequest you can get around some of
the restrictions by the use of JSONP.  That gets into a lot more than
most people want to do and JSONP may be subject to the same origin
rules in the future but browser security is definitely an evolving
area. Something you push out there today that works may be blocked a
month from now.

Judah 

~|
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:343538
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Solr Errors

2011-04-04 Thread Mary Jo Sminkey

Has anyone else seen these kinds of errors? I keep getting them on CF9.01 when 
I run cfindex tags to add new data to a Solr collection.

org.apache.solr.common.SolrException: 
Error_opening_new_searcher_exceeded_limit_of_maxWarmingSearchers4_try_again_later
 
Error_opening_new_searcher_exceeded_limit_of_maxWarmingSearchers4_try_again_later
 request: 
http://localhost:8983/solr/impacts_docs/update?commit=truewaitFlush=falsewaitSearcher=falsewt=javabinversion=1
 


--- Mary Jo


~|
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:343539
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-04 Thread Raymond Camden

Interesting. It almost sounds like a load issue. Was the site under heavy load?


On Mon, Apr 4, 2011 at 4:09 PM, Mary Jo Sminkey mary...@cfwebstore.com wrote:

 Has anyone else seen these kinds of errors? I keep getting them on CF9.01 
 when I run cfindex tags to add new data to a Solr collection.

 org.apache.solr.common.SolrException: 
 Error_opening_new_searcher_exceeded_limit_of_maxWarmingSearchers4_try_again_later
  
 Error_opening_new_searcher_exceeded_limit_of_maxWarmingSearchers4_try_again_later
  request: 
 http://localhost:8983/solr/impacts_docs/update?commit=truewaitFlush=falsewaitSearcher=falsewt=javabinversion=1


 --- Mary Jo


 

~|
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:343540
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Solr Errors

2011-04-04 Thread Mark A. Kruger

Mary Jo,

These are options you can set in the INI files of Solr - along with standard
JVM options. If you have a high traffic solr install you will need to fine
tune it to run according to the amount of traffic you have. 

-Mark


Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com


-Original Message-
From: Mary Jo Sminkey [mailto:mary...@cfwebstore.com] 
Sent: Monday, April 04, 2011 4:10 PM
To: cf-talk
Subject: Solr Errors


Has anyone else seen these kinds of errors? I keep getting them on CF9.01
when I run cfindex tags to add new data to a Solr collection.

org.apache.solr.common.SolrException:
Error_opening_new_searcher_exceeded_limit_of_maxWarmingSearchers4_try_again_
later
Error_opening_new_searcher_exceeded_limit_of_maxWarmingSearchers4_try_again_
later request:
http://localhost:8983/solr/impacts_docs/update?commit=truewaitFlush=falsew
aitSearcher=falsewt=javabinversion=1 


--- Mary Jo




~|
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:343541
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm