JSP Handler in WebServer

2012-03-19 Thread IT (Pradeep Viswanathan)

In my web server configuration, i can see JSP's being routed to jRun  / 
ColdFusion

AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf

Is this required ?

Thx  rgds,
Pradeep Viswanathan R



DISCLAIMER:
This e-mail message including any of its attachments is intended solely for 
the addressee(s) and may contain privileged information. If you are not the 
addressee or you have received this email message in error, please notify the 
sender who will remove your details from its database. You are not authorized 
to read, copy, disseminate, distribute or use this e-mail message or any 
attachment to it in any manner and must delete the email and destroy any hard 
copies of it. 
This e-mail message does not contain financial instructions or commitments of 
any kind. Any views expressed in this message are those of the individual 
sender and do not necessarily reflect the views of Emirates NBD PJSC, or any 
other related subsidiaries, entities or persons.

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


Re: Method to post Facebook Wall Feed on a ColdFusion page?

2012-03-19 Thread Guust Nieuwenhuis

I made a website for my brothers band, www.mastercab.be, and I'm connecting 
to there Facebook page to get the wall posts they made and display them on 
there website.

You'll need to create a Facebook app to get an access_token, but I believe 
you've already done that. Below a link to the code I'm using to connect to 
Facebook and display the posts. You'll have to add your page name and 
access_token at the beginning of the file.

https://gist.github.com/e84459d04cc78ad47781

Kind regards,

Guust Nieuwenhuis

Adobe Community Professional

Mobile: +32 497 33 04 91
Skype: guustnieuwenhuis
Email: i...@lagaffe.be 


 From: Andrew Scott andr...@andyscott.id.au
Sent: Monday, March 19, 2012 4:10 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Method to post Facebook Wall Feed on a ColdFusion page?

Ok I think FaceBookGraph is a bit confusing, but having said that so is 
the
docs at times.

Well if you need the reverse then the activity or news feed is maybe what
your looking for, but wall posts are out of the question. You can use the
SDK to read the news, I have never done it mysefl, but if you look at all
the objects news is one of them.

-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543

On Mon, Mar 19, 2012 at 1:18 PM, Eric Bourland e...@ebwebwork.com wrote:


 Hi, Andrew,

 I've been studying the Facebook Developers' Documentation for most of 
the
 weekend. I have also been doing a lot of researching and testing. I have
 been able to create a test Facebook Application (App), and obtain the 
App
 ID, App Secret, and an App access token. I have also figured out that 
the
 Facebook Graph is just the FB database. =) That metaphor had me 
confused
 for a while because I was looking around for an actual graph. Yes, I can 
be
 literal minded, especially when I need a procedure to complete a task, 
and
 am feeling tense and vulnerable about not having completed it.

  So depending on your requirements, you can use the Social Graph to 
post
 to your facebook page, that will automatically get seen by people who 
have
 either liked / subscribed to the page.

 Actually, I need to achieve the reverse; I need to post the activity 
feed,
 or the status updates of a particular Facebook page to a particular web
 site. The ColdFusion Facebook SDK seems to want to allow me to post 
posts
 to
 a Facebook page, but does not allow me to extract the activity feed -- 
at
 least, that is what I think. Of course I could be missing something.

  The thing is that you need to know how to do it.
 I agree 100% and I'm continuing to work on this task. I'm continuing to
 study the Facebook documentation. Thank you again for your ideas and
 support. Have a great evening.

 Eric







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


Re: JSP Handler in WebServer

2012-03-19 Thread J.J. Merrick

It is doing this because jRun can handle JSPs. If you want that to be
another J2EE to handle JSP pages I think it is safe to change this and
not required by CF.

-J.J.

On Mon, Mar 19, 2012 at 1:52 AM, IT (Pradeep Viswanathan)
prade...@emiratesnbd.com wrote:

 In my web server configuration, i can see JSP's being routed to jRun  / 
 ColdFusion

    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf

 Is this required ?

 Thx  rgds,
 Pradeep Viswanathan R



 DISCLAIMER:
 This e-mail message including any of its attachments is intended solely for 
 the addressee(s) and may contain privileged information. If you are not the 
 addressee or you have received this email message in error, please notify the 
 sender who will remove your details from its database. You are not authorized 
 to read, copy, disseminate, distribute or use this e-mail message or any 
 attachment to it in any manner and must delete the email and destroy any hard 
 copies of it.
 This e-mail message does not contain financial instructions or commitments of 
 any kind. Any views expressed in this message are those of the individual 
 sender and do not necessarily reflect the views of Emirates NBD PJSC, or any 
 other related subsidiaries, entities or persons.

 

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


RE: JSP Handler in WebServer

2012-03-19 Thread IT (Pradeep Viswanathan)

Guessing the same - it should be safe but wonder if there is any internal CF 
stuff which is dependent on this. 

Thx  rgds,
Pradeep Viswanathan R 

-Original Message-
From: J.J. Merrick [mailto:j...@panos.cc] 
Sent: Monday, March 19, 2012 2:40 PM
To: cf-talk
Subject: Re: JSP Handler in WebServer


It is doing this because jRun can handle JSPs. If you want that to be
another J2EE to handle JSP pages I think it is safe to change this and
not required by CF.

-J.J.

On Mon, Mar 19, 2012 at 1:52 AM, IT (Pradeep Viswanathan)
prade...@emiratesnbd.com wrote:

 In my web server configuration, i can see JSP's being routed to jRun  / 
 ColdFusion

    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf

 Is this required ?

 Thx  rgds,
 Pradeep Viswanathan R



 DISCLAIMER:
 This e-mail message including any of its attachments is intended solely for 
 the addressee(s) and may contain privileged information. If you are not the 
 addressee or you have received this email message in error, please notify the 
 sender who will remove your details from its database. You are not authorized 
 to read, copy, disseminate, distribute or use this e-mail message or any 
 attachment to it in any manner and must delete the email and destroy any hard 
 copies of it.
 This e-mail message does not contain financial instructions or commitments of 
 any kind. Any views expressed in this message are those of the individual 
 sender and do not necessarily reflect the views of Emirates NBD PJSC, or any 
 other related subsidiaries, entities or persons.

 



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


Re: JSP Handler in WebServer

2012-03-19 Thread Russ Michaels

only the wildcard handler works, the regular script maps which point to
JRUN_IIS6.dll  do not work at all. Try disabling the wildcard handler and
see what happens.
Why these are even created I do not know, my guess would be left over
legacy support for IIS5, but then one has to wonder why the file is called
JRUN_IIS6.dll

however there are some instances where you need a regular script map as
well as a wildcard handler, here is an example.

http://www.michaels.me.uk/post.cfm/getting-coldfusion-working-with-helicon-ape




On Mon, Mar 19, 2012 at 10:41 AM, IT (Pradeep Viswanathan) 
prade...@emiratesnbd.com wrote:


 Guessing the same - it should be safe but wonder if there is any internal
 CF stuff which is dependent on this.

 Thx  rgds,
 Pradeep Viswanathan R

 -Original Message-
 From: J.J. Merrick [mailto:j...@panos.cc]
 Sent: Monday, March 19, 2012 2:40 PM
 To: cf-talk
 Subject: Re: JSP Handler in WebServer


 It is doing this because jRun can handle JSPs. If you want that to be
 another J2EE to handle JSP pages I think it is safe to change this and
 not required by CF.

 -J.J.

 On Mon, Mar 19, 2012 at 1:52 AM, IT (Pradeep Viswanathan)
 prade...@emiratesnbd.com wrote:
 
  In my web server configuration, i can see JSP's being routed to jRun  /
 ColdFusion
 
 AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
 
  Is this required ?
 
  Thx  rgds,
  Pradeep Viswanathan R
 
 
 
  DISCLAIMER:
  This e-mail message including any of its attachments is intended solely
 for the addressee(s) and may contain privileged information. If you are not
 the addressee or you have received this email message in error, please
 notify the sender who will remove your details from its database. You are
 not authorized to read, copy, disseminate, distribute or use this e-mail
 message or any attachment to it in any manner and must delete the email and
 destroy any hard copies of it.
  This e-mail message does not contain financial instructions or
 commitments of any kind. Any views expressed in this message are those of
 the individual sender and do not necessarily reflect the views of Emirates
 NBD PJSC, or any other related subsidiaries, entities or persons.
 
 



 

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


RE: JSP Handler in WebServer

2012-03-19 Thread IT (Pradeep Viswanathan)

Thanks Russ that is informative. 

Guess I am going to take the JSP handler. 

Thx  rgds,
Pradeep Viswanathan R 


-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Monday, March 19, 2012 2:52 PM
To: cf-talk
Subject: Re: JSP Handler in WebServer


only the wildcard handler works, the regular script maps which point to
JRUN_IIS6.dll  do not work at all. Try disabling the wildcard handler and
see what happens.
Why these are even created I do not know, my guess would be left over
legacy support for IIS5, but then one has to wonder why the file is called
JRUN_IIS6.dll

however there are some instances where you need a regular script map as
well as a wildcard handler, here is an example.

http://www.michaels.me.uk/post.cfm/getting-coldfusion-working-with-helicon-ape




On Mon, Mar 19, 2012 at 10:41 AM, IT (Pradeep Viswanathan) 
prade...@emiratesnbd.com wrote:


 Guessing the same - it should be safe but wonder if there is any internal
 CF stuff which is dependent on this.

 Thx  rgds,
 Pradeep Viswanathan R

 -Original Message-
 From: J.J. Merrick [mailto:j...@panos.cc]
 Sent: Monday, March 19, 2012 2:40 PM
 To: cf-talk
 Subject: Re: JSP Handler in WebServer


 It is doing this because jRun can handle JSPs. If you want that to be
 another J2EE to handle JSP pages I think it is safe to change this and
 not required by CF.

 -J.J.

 On Mon, Mar 19, 2012 at 1:52 AM, IT (Pradeep Viswanathan)
 prade...@emiratesnbd.com wrote:
 
  In my web server configuration, i can see JSP's being routed to jRun  /
 ColdFusion
 
 AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
 
  Is this required ?
 
  Thx  rgds,
  Pradeep Viswanathan R
 
 
 
  DISCLAIMER:
  This e-mail message including any of its attachments is intended solely
 for the addressee(s) and may contain privileged information. If you are not
 the addressee or you have received this email message in error, please
 notify the sender who will remove your details from its database. You are
 not authorized to read, copy, disseminate, distribute or use this e-mail
 message or any attachment to it in any manner and must delete the email and
 destroy any hard copies of it.
  This e-mail message does not contain financial instructions or
 commitments of any kind. Any views expressed in this message are those of
 the individual sender and do not necessarily reflect the views of Emirates
 NBD PJSC, or any other related subsidiaries, entities or persons.
 
 



 



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


Re: NullPointerException in CF Template

2012-03-19 Thread Helwig, Till Helge

Hi Cameron,

Thank you for your reply.

I will keep your suggestions in mind. Unfortunately I can't debug it this way 
right now as it only happens on the productive servers and I'm not allowed to 
do debugging there. Maybe I will be able to implement logfiles in the next 
version and dump the queries to a file. Hopefully this will give me some clue 
as to what is the matter there.

I wasn't aware that ColdFusion can cause exceptions in the underlying Java 
application. This still confuses me. Is there some general explanation for why 
this might occur?

Best wishes,
Till Helge


Von: Cameron Childress [camer...@gmail.com]
Gesendet: Freitag, 16. März 2012 14:30
An: cf-talk
Betreff: Re: NullPointerException in CF Template

You're using lots of dynamic stuff in a Query of Query.  I'll bet a value
is sometimes not what you think it is.  CFDUMP out
#someDatabaseSelectQuery.columnList#, #ReturnQuery#, and #langQuery# just
before the CFQUERY tag and make sure that they contain what you think they
do.

Also, I see that your QoQ table name is being reused as the table name for
the result set (both ReturnQuery).  you say this works sometimes, so that
may not be the problem, but it's easy enough to change the name
to name=ReturnQueryFoo and see if it makes the error stop.

-Cameron

On Fri, Mar 16, 2012 at 5:30 AM, Helwig, Till Helge
till.hel...@saxsys.dewrote:


 Hi guys,

 I stumbled upon another puzzling problem and could use some help:

 The culprit is a CF template called by Mach-II and a lot of other
 templates are involved, but the error occurs always in the same spot: I get
 a NullPointerException from Java on a line where cfquery executes a
 SELECT statement on a query object that was built on the lines before. The
 code looks like this:

 cfset ReturnQuery = QueryNew( someDatabaseSelectQuery.columnList ) /
 cfloop query=langQuery
cfset QueryAddRow( ReturnQuery ) /
cfloop list=#langQuery.columnList# index=column
   !--- TODO: Replace evaluate() with []
 notation ---
cfset tmpCol = langQuery.  column 
 [langQuery.currentRow][1]
cfset querySetCell(ReturnQuery, column, evaluate(tmpCol))
/cfloop
 /cfloop
 cfquery name=ReturnQuery dbtype=query
SELECT * FROM ReturnQuery ORDER BY PROD_ID
 /cfquery

 Please don't judge me by that code...it didn't write it...I merely have to
 make it work again. The error occurs on this line:

 cfquery name=ReturnQuery dbtype=query

 The funny thing is that the same request works with other parameters and
 not for a special combination of values. Explaining all the stuff that
 happens based on those parameters would take way too much time. My real
 question is: How is it possible that a NullPointerException occurs within a
 CF template? This seems rather odd to me.

 It appears to be server-specific as well. On some servers the error
 occurs, on some it doesn't. I can't get my head around how this is even
 possible. I would appreciate any ideas that might help me get to the bottom
 of this problem.

 --
 Best wishes,
 Till Helge





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


Re: NullPointerException in CF Template

2012-03-19 Thread Cameron Childress

On Mon, Mar 19, 2012 at 10:00 AM, Helwig, Till Helge
till.hel...@saxsys.dewrote:

 I wasn't aware that ColdFusion can cause exceptions in the underlying Java
 application. This still confuses me. Is there some general explanation for
 why this might occur?


ColdFusion code is compiled down to Java ByteCode and then executed as
Java.  So, really all errors are in the Java Application that is your
ColdFusion app.

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook http://www.facebook.com/cameroncf |
twitterhttp://twitter.com/cameronc |
google+ https://profiles.google.com/u/0/117829379451708140985


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


Browser and OS detection with CF

2012-03-19 Thread Brook Davies

Does anyone know of a good script to detect the browser and OS (including
versions) with CF? So far I have found BrowserDetect UDF
(http://www.cflib.org/udf/browserDetect) which looks good, but I would also
like to record the OS and Screen Resolution. Are these things better suited
to JS?

 

Brook




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


RE: Method to post Facebook Wall Feed on a ColdFusion page?

2012-03-19 Thread Eric Bourland

Dear Guust,

I will try this today. Thank you very much! All best,

Eric

-Original Message-
From: Guust Nieuwenhuis [mailto:i...@lagaffe.be] 
Sent: Monday, March 19, 2012 3:32 AM
To: cf-talk
Subject: Re: Method to post Facebook Wall Feed on a ColdFusion page?


I made a website for my brothers band, www.mastercab.be, and I'm connecting
to there Facebook page to get the wall posts they made and display them on
there website.

You'll need to create a Facebook app to get an access_token, but I believe
you've already done that. Below a link to the code I'm using to connect to
Facebook and display the posts. You'll have to add your page name and
access_token at the beginning of the file.

https://gist.github.com/e84459d04cc78ad47781

Kind regards,

Guust Nieuwenhuis

Adobe Community Professional

Mobile: +32 497 33 04 91
Skype: guustnieuwenhuis
Email: i...@lagaffe.be 


 From: Andrew Scott andr...@andyscott.id.au
Sent: Monday, March 19, 2012 4:10 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Method to post Facebook Wall Feed on a ColdFusion page?

Ok I think FaceBookGraph is a bit confusing, but having said that so is the
docs at times.

Well if you need the reverse then the activity or news feed is maybe what
your looking for, but wall posts are out of the question. You can use the
SDK to read the news, I have never done it mysefl, but if you look at all
the objects news is one of them.

--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543

On Mon, Mar 19, 2012 at 1:18 PM, Eric Bourland e...@ebwebwork.com wrote:


 Hi, Andrew,

 I've been studying the Facebook Developers' Documentation for most of 
the
 weekend. I have also been doing a lot of researching and testing. I have
 been able to create a test Facebook Application (App), and obtain the 
App
 ID, App Secret, and an App access token. I have also figured out that 
the
 Facebook Graph is just the FB database. =) That metaphor had me 
confused
 for a while because I was looking around for an actual graph. Yes, I can 
be
 literal minded, especially when I need a procedure to complete a task, 
and
 am feeling tense and vulnerable about not having completed it.

  So depending on your requirements, you can use the Social Graph to 
post
 to your facebook page, that will automatically get seen by people who 
have
 either liked / subscribed to the page.

 Actually, I need to achieve the reverse; I need to post the activity 
feed,
 or the status updates of a particular Facebook page to a particular web
 site. The ColdFusion Facebook SDK seems to want to allow me to post 
posts
 to
 a Facebook page, but does not allow me to extract the activity feed -- 
at
 least, that is what I think. Of course I could be missing something.

  The thing is that you need to know how to do it.
 I agree 100% and I'm continuing to work on this task. I'm continuing to
 study the Facebook documentation. Thank you again for your ideas and
 support. Have a great evening.

 Eric









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


Re: Browser and OS detection with CF

2012-03-19 Thread Russ Michaels

http://www.cyscape.com/

used to be written in CF, dunno if it still is.


On Mon, Mar 19, 2012 at 4:29 PM, Brook Davies cft...@logiforms.com wrote:


 Does anyone know of a good script to detect the browser and OS (including
 versions) with CF? So far I have found BrowserDetect UDF
 (http://www.cflib.org/udf/browserDetect) which looks good, but I would
 also
 like to record the OS and Screen Resolution. Are these things better suited
 to JS?



 Brook




 

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


RE: Browser and OS detection with CF

2012-03-19 Thread Robert Harrison

Check out the cgi vars: 
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Expressions_8.html
 

Should all be available there. 

Robert B. Harrison
Director of Interactive Services
Austin  Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be .

Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged

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


Re: Browser and OS detection with CF

2012-03-19 Thread Gerald Guido

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=en_usextid=1009781


I used to use this. It is from 03 so you would need to add Chrome and
mobile browsers.

G!

On Mon, Mar 19, 2012 at 12:29 PM, Brook Davies cft...@logiforms.com wrote:


 Does anyone know of a good script to detect the browser and OS (including
 versions) with CF? So far I have found BrowserDetect UDF
 (http://www.cflib.org/udf/browserDetect) which looks good, but I would
 also
 like to record the OS and Screen Resolution. Are these things better suited
 to JS?



 Brook




 

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


Re: Browser and OS detection with CF

2012-03-19 Thread Cameron Childress

On Mon, Mar 19, 2012 at 1:00 PM, Russ Michaels r...@michaels.me.uk wrote:

 http://www.cyscape.com/

 used to be written in CF, dunno if it still is.


I haven't used it in years, but BrowserHawk is kept up to date and is a
great solution for this work of thing.  If you want things like screen
resolution, you're going to have to pick something that runs on the client
side, not the server side.  No amount of looking at CGI variables is going
to get you that information.

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook http://www.facebook.com/cameroncf |
twitterhttp://twitter.com/cameronc |
google+ https://profiles.google.com/u/0/117829379451708140985

...


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


Re: Browser and OS detection with CF

2012-03-19 Thread Dave Watts

 Check out the cgi vars: 
 http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Expressions_8.html

Well, actually, no, it won't all be there. Browsers don't for example,
typically send the screen resolution to the server.

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


RE: Browser and OS detection with CF

2012-03-19 Thread Brook Davies

I guess there is some benefit to using a 3rd party paid tool like
browserHawk since they keep it up to date. I'll take another look at it...

Brook

-Original Message-
From: Cameron Childress [mailto:camer...@gmail.com] 
Sent: March-19-12 11:10 AM
To: cf-talk
Subject: Re: Browser and OS detection with CF


On Mon, Mar 19, 2012 at 1:00 PM, Russ Michaels r...@michaels.me.uk wrote:

 http://www.cyscape.com/

 used to be written in CF, dunno if it still is.


I haven't used it in years, but BrowserHawk is kept up to date and is a
great solution for this work of thing.  If you want things like screen
resolution, you're going to have to pick something that runs on the client
side, not the server side.  No amount of looking at CGI variables is going
to get you that information.

-Cameron

--
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook http://www.facebook.com/cameroncf |
twitterhttp://twitter.com/cameronc |
google+ https://profiles.google.com/u/0/117829379451708140985






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


RE: JSP Handler in WebServer

2012-03-19 Thread IT (Pradeep Viswanathan)

Does someone know how to remove the JSP handler in Apache, I edited the 
http.conf and restarted both apache and jRun. It does not seem to take effect .

Is it mandatory to be done using wsconfig ? 

-Original Message-
From: IT (Pradeep Viswanathan) [mailto:prade...@emiratesnbd.com] 
Sent: Monday, March 19, 2012 2:55 PM
To: cf-talk
Subject: RE: JSP Handler in WebServer


Thanks Russ that is informative. 

Guess I am going to take the JSP handler. 

Thx  rgds,
Pradeep Viswanathan R 


-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Monday, March 19, 2012 2:52 PM
To: cf-talk
Subject: Re: JSP Handler in WebServer


only the wildcard handler works, the regular script maps which point to
JRUN_IIS6.dll  do not work at all. Try disabling the wildcard handler and
see what happens.
Why these are even created I do not know, my guess would be left over
legacy support for IIS5, but then one has to wonder why the file is called
JRUN_IIS6.dll

however there are some instances where you need a regular script map as
well as a wildcard handler, here is an example.

http://www.michaels.me.uk/post.cfm/getting-coldfusion-working-with-helicon-ape




On Mon, Mar 19, 2012 at 10:41 AM, IT (Pradeep Viswanathan) 
prade...@emiratesnbd.com wrote:


 Guessing the same - it should be safe but wonder if there is any internal
 CF stuff which is dependent on this.

 Thx  rgds,
 Pradeep Viswanathan R

 -Original Message-
 From: J.J. Merrick [mailto:j...@panos.cc]
 Sent: Monday, March 19, 2012 2:40 PM
 To: cf-talk
 Subject: Re: JSP Handler in WebServer


 It is doing this because jRun can handle JSPs. If you want that to be
 another J2EE to handle JSP pages I think it is safe to change this and
 not required by CF.

 -J.J.

 On Mon, Mar 19, 2012 at 1:52 AM, IT (Pradeep Viswanathan)
 prade...@emiratesnbd.com wrote:
 
  In my web server configuration, i can see JSP's being routed to jRun  /
 ColdFusion
 
 AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
 
  Is this required ?
 
  Thx  rgds,
  Pradeep Viswanathan R
 
 
 
  DISCLAIMER:
  This e-mail message including any of its attachments is intended solely
 for the addressee(s) and may contain privileged information. If you are not
 the addressee or you have received this email message in error, please
 notify the sender who will remove your details from its database. You are
 not authorized to read, copy, disseminate, distribute or use this e-mail
 message or any attachment to it in any manner and must delete the email and
 destroy any hard copies of it.
  This e-mail message does not contain financial instructions or
 commitments of any kind. Any views expressed in this message are those of
 the individual sender and do not necessarily reflect the views of Emirates
 NBD PJSC, or any other related subsidiaries, entities or persons.
 
 



 





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


ORM multidatasource with hibernate and coldbox

2012-03-19 Thread Brian Thornton

Does anyone have experience with cross volume issues?

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


Re: JSP Handler in WebServer

2012-03-19 Thread Russ Michaels

do you still have the wildcard handler mapping setup ? if so then CF will
still be processing ..jsp files

On Mon, Mar 19, 2012 at 8:30 PM, IT (Pradeep Viswanathan) 
prade...@emiratesnbd.com wrote:


 Does someone know how to remove the JSP handler in Apache, I edited the
 http.conf and restarted both apache and jRun. It does not seem to take
 effect .

 Is it mandatory to be done using wsconfig ?

 -Original Message-
 From: IT (Pradeep Viswanathan) [mailto:prade...@emiratesnbd.com]
 Sent: Monday, March 19, 2012 2:55 PM
 To: cf-talk
 Subject: RE: JSP Handler in WebServer


 Thanks Russ that is informative.

 Guess I am going to take the JSP handler.

 Thx  rgds,
 Pradeep Viswanathan R


 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Monday, March 19, 2012 2:52 PM
 To: cf-talk
 Subject: Re: JSP Handler in WebServer


 only the wildcard handler works, the regular script maps which point to
 JRUN_IIS6.dll  do not work at all. Try disabling the wildcard handler and
 see what happens.
 Why these are even created I do not know, my guess would be left over
 legacy support for IIS5, but then one has to wonder why the file is called
 JRUN_IIS6.dll

 however there are some instances where you need a regular script map as
 well as a wildcard handler, here is an example.


 http://www.michaels.me.uk/post.cfm/getting-coldfusion-working-with-helicon-ape




 On Mon, Mar 19, 2012 at 10:41 AM, IT (Pradeep Viswanathan) 
 prade...@emiratesnbd.com wrote:

 
  Guessing the same - it should be safe but wonder if there is any internal
  CF stuff which is dependent on this.
 
  Thx  rgds,
  Pradeep Viswanathan R
 
  -Original Message-
  From: J.J. Merrick [mailto:j...@panos.cc]
  Sent: Monday, March 19, 2012 2:40 PM
  To: cf-talk
  Subject: Re: JSP Handler in WebServer
 
 
  It is doing this because jRun can handle JSPs. If you want that to be
  another J2EE to handle JSP pages I think it is safe to change this and
  not required by CF.
 
  -J.J.
 
  On Mon, Mar 19, 2012 at 1:52 AM, IT (Pradeep Viswanathan)
  prade...@emiratesnbd.com wrote:
  
   In my web server configuration, i can see JSP's being routed to jRun  /
  ColdFusion
  
  AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
  
   Is this required ?
  
   Thx  rgds,
   Pradeep Viswanathan R
  
  
  
   DISCLAIMER:
   This e-mail message including any of its attachments is intended
 solely
  for the addressee(s) and may contain privileged information. If you are
 not
  the addressee or you have received this email message in error, please
  notify the sender who will remove your details from its database. You are
  not authorized to read, copy, disseminate, distribute or use this e-mail
  message or any attachment to it in any manner and must delete the email
 and
  destroy any hard copies of it.
   This e-mail message does not contain financial instructions or
  commitments of any kind. Any views expressed in this message are those of
  the individual sender and do not necessarily reflect the views of
 Emirates
  NBD PJSC, or any other related subsidiaries, entities or persons.
  
  
 
 
 
 





 

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