Re: [cfaussie] Jrun 4 updater 7 - install not supported on jre 6u27

2011-08-19 Thread Duncan
Ah yes I found it buried in there. Thanks.

On Fri, Aug 19, 2011 at 1:58 PM, MrBuzzy mrbu...@gmail.com wrote:

 I'm pretty sure JDK 1.4.2_19 is still available from Sun/Oracle even though
 its EOL.


 On 19/08/2011, at 1:51 PM, Duncan duncan.lox...@gmail.com wrote:

 Hi Folks,

 I cant help but find this hilarious.

 I am trying to update jrun to update 7, but the installer won't run on JDK
 6u27, I would think I need to downgrade the JRE to 1.4.2 or so, but you cant
 download this any more.

 Can anyone give me a JRE installer that is old enough to run the jrun
 updater please?

 --
 Duncan I Loxton
 duncan.lox...@gmail.comduncan.lox...@gmail.com

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.

  --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.




-- 
Duncan I Loxton
duncan.lox...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Jrun 4 updater 7 - install not supported on jre 6u27

2011-08-19 Thread Duncan
Well this is not awesome.

After installing 1.4.2 and running the 7 update, CF will not start.

*Error loading: C:/Program Files/Java/jdk1.6.0_27/jre\bin\server\jvm.dll
Error loading: C:/JRun4/jre\bin\server\jvm.dll*

I have uninstalled the 6u27, restarted etc and can’t get a win here.

I also followed a thread about msvcr71.dll creeping in somewhere, and have
spotted this, and replaced the file, although the file sizes were identical.


I have not gone to a reinstall of CF yet, because as I am hoping you can
shed some light on this for me.

64bit CF801 Enterprise, std JVM. Standalone machine with Win 2008 web
edition, 64 bit. Done the 801 updater 4 as well, everything was running fine
until doing the 1.4 and jrun updater.

Thanks!

On Fri, Aug 19, 2011 at 4:25 PM, Duncan duncan.lox...@gmail.com wrote:

 Ah yes I found it buried in there. Thanks.


 On Fri, Aug 19, 2011 at 1:58 PM, MrBuzzy mrbu...@gmail.com wrote:

 I'm pretty sure JDK 1.4.2_19 is still available from Sun/Oracle even
 though its EOL.


 On 19/08/2011, at 1:51 PM, Duncan duncan.lox...@gmail.com wrote:

 Hi Folks,

 I cant help but find this hilarious.

 I am trying to update jrun to update 7, but the installer won't run on JDK
 6u27, I would think I need to downgrade the JRE to 1.4.2 or so, but you cant
 download this any more.

 Can anyone give me a JRE installer that is old enough to run the jrun
 updater please?

 --
 Duncan I Loxton
 duncan.lox...@gmail.comduncan.lox...@gmail.com

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.

  --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.




 --
 Duncan I Loxton
 duncan.lox...@gmail.com




-- 
Duncan I Loxton
duncan.lox...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Jrun 4 updater 7 - install not supported on jre 6u27

2011-08-19 Thread Duncan
hmmm I am assuming that the updater 7 does not have 64 bit support, but this
thread http://forums.adobe.com/thread/706538?tstart=-1 indicates there
should be support.

I have tried the roll back option with the backup folder at
C:\JRun4\updater7-backup rolling all this back over the top, but to no
effect, I still have the same error.



On Fri, Aug 19, 2011 at 5:42 PM, Duncan duncan.lox...@gmail.com wrote:

 Well this is not awesome.

 After installing 1.4.2 and running the 7 update, CF will not start.

 *Error loading: C:/Program Files/Java/jdk1.6.0_27/jre\bin\server\jvm.dll
 Error loading: C:/JRun4/jre\bin\server\jvm.dll*

 I have uninstalled the 6u27, restarted etc and can’t get a win here.

 I also followed a thread about msvcr71.dll creeping in somewhere, and have
 spotted this, and replaced the file, although the file sizes were identical.


 I have not gone to a reinstall of CF yet, because as I am hoping you can
 shed some light on this for me.

 64bit CF801 Enterprise, std JVM. Standalone machine with Win 2008 web
 edition, 64 bit. Done the 801 updater 4 as well, everything was running fine
 until doing the 1.4 and jrun updater.

 Thanks!


 On Fri, Aug 19, 2011 at 4:25 PM, Duncan duncan.lox...@gmail.com wrote:

 Ah yes I found it buried in there. Thanks.


 On Fri, Aug 19, 2011 at 1:58 PM, MrBuzzy mrbu...@gmail.com wrote:

 I'm pretty sure JDK 1.4.2_19 is still available from Sun/Oracle even
 though its EOL.


 On 19/08/2011, at 1:51 PM, Duncan duncan.lox...@gmail.com wrote:

 Hi Folks,

 I cant help but find this hilarious.

 I am trying to update jrun to update 7, but the installer won't run on
 JDK 6u27, I would think I need to downgrade the JRE to 1.4.2 or so, but you
 cant download this any more.

 Can anyone give me a JRE installer that is old enough to run the jrun
 updater please?

 --
 Duncan I Loxton
 duncan.lox...@gmail.comduncan.lox...@gmail.com

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.

  --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.




 --
 Duncan I Loxton
 duncan.lox...@gmail.com




 --
 Duncan I Loxton
 duncan.lox...@gmail.com




-- 
Duncan I Loxton
duncan.lox...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Error in Patching instructions in CFH4 for 801

2011-08-18 Thread Duncan
Hi Folks,

I don't know where to go with this, so I am putting it out there.

I am just patching a new cf 801 server, and am going through the patches for
the chf4 on this page
http://kb2.adobe.com/cps/529/cpsid_52915.html#main_Security

The first Additional fix is as follows:
Security hot fix

   1. Download 
hf800-71471.ziphttp://www.adobe.com/support/coldfusion/ts/documents/kb403328/hf800-71471.zipand
extract hf801-71471.jar to cfusion\lib\updates.


The link to the zip file points to a CF 8.0.0 jar, not the 801 jar file.

The correct zip location is
http://www.adobe.com/support/coldfusion/ts/documents/kb403328/hf801-71471.zip

HTH!

-- 
Duncan I Loxton
duncan.lox...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Jrun 4 updater 7 - install not supported on jre 6u27

2011-08-18 Thread Duncan
Hi Folks,

I cant help but find this hilarious.

I am trying to update jrun to update 7, but the installer won't run on JDK
6u27, I would think I need to downgrade the JRE to 1.4.2 or so, but you cant
download this any more.

Can anyone give me a JRE installer that is old enough to run the jrun
updater please?

-- 
Duncan I Loxton
duncan.lox...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Re: SSL issue with SecurePay Test env

2011-04-21 Thread Duncan
I have just come back to revisit this, and now its working.

I really have done nothing since my last post. Certainly never changed
anything on our two live servers, it seems to have just resolved itself.

Could something have changed on the other side?

I guess I just have to accept that it works now, I may never know why.



On Wed, Apr 13, 2011 at 7:02 PM, Knut webmas...@triptix.eu wrote:

 If you use a self signed cert on your development enviroment server,
 you probably also have to import you own self signed cert.
 I remember, that I have had to do this on my development server.

 On 12 Apr., 05:32, Duncan duncan.lox...@gmail.com wrote:
  ok I tried a full restart on my development environment and there is no
  change. I even tried importing the cert with a different alias, all
  characters inline with all the others.
 
  Do I need to import a root CA cert? If so how do I go about finding this?
 
 
 
  On Tue, Apr 12, 2011 at 1:01 PM, Duncan duncan.lox...@gmail.com wrote:
   Restart CF? Yes we have done that, I can't do a full server reboot in
 the
   middle of the day.
 
   On my local Win 7 / 64bit - CF8 I have the same issue, I will try a
 full
   reboot on this machine too and report back.
 
   On Tue, Apr 12, 2011 at 12:34 PM, skateboard.com.au 
 w...@skateboard.com.au
wrote:
 
   I have always had to restart the server after importing a new cert.
 Have
   you done that?
 
   cheers
 
   Drew
 
   -Original Message-
   From: Duncan duncan.lox...@gmail.com
   To: cfaussie cfaussie@googlegroups.com
   Date: Tue, 12 Apr 2011 12:01:24 +1000
   Subject: [cfaussie] SSL issue with SecurePay Test env
 
Hi Everyone,
 
Securepay issued a new SSL certificate on their test environment
7/4/2011
and it has had an effect on our code when running in test mode. I
 have
isolated it to be related to the I/O Exception: peer not
 authenticated
issue
as detailed by Rob Gonda and Steven Erat
-http://www.talkingtree.com/blog/index.cfm/2004/7/1/keytool
 -
   
 http://coldfusion-archive.robgonda.com/blog/index.cfm/2007/10/29/ErrorD
etail-IO-Exception-peer-not-authenticated/
 
However, I have followed these posts and imported the
test.securepay.com.aucertificate and still ColdFusion 8 (Enterprise)
doesn't like the URL. My Key
store implies I have GeoTrust items in it, and it worked before the
 SSL
change, so I am now a bit lost.
 
I have put together a test script below, it is located at
   http://www.red5.com.au/gatewaytest.cfmso you can see the behaviour.
 I
put
in the Eway URL too, just as a sanity check.
 
I would really appreciate some one running this on their own CF8
environment
to see if the issue exists there, and if so, does importing the
certificate
resolve the issue for you?
 
Thanks!
 
[code]
cfsavecontent variable=XmlRequest
?xml version=1.0 encoding=UTF-8 ?
SecurePayMessage
MessageInfo
messageID/messageID
messageTimestamp#DateFormat(now(),
mmdd)##TimeFormat(now(), HHmmssL000+600)#/messageTimestamp
timeoutValue60/timeoutValue
apiVersionxml-4.2/apiVersion
/MessageInfo
/SecurePayMessage
/cfsavecontent
 
cfhttp method=post url=
 https://www.securepay.com.au/xmlapi/payment;
timeout=80 result=XmlResponse
cfhttpparam type=xml value=#XmlRequest#/
/cfhttp
 
cfdump var=#XmlResponse# label=
   https://www.securepay.com.au/xmlapi/payment;
 
cfhttp method=post
url=https://test.securepay.com.au/xmlapi/payment;
timeout=80 result=XmlResponse
cfhttpparam type=xml value=#XmlRequest#/
/cfhttp
 
cfdump var=#XmlResponse# label=
   https://test.securepay.com.au/xmlapi/payment;
 
cfhttp method=post
url=https://www.eway.com.au/gateway/xmlpayment.asp;
timeout=80 result=XmlResponse
cfhttpparam type=xml value=#XmlRequest#/
/cfhttp
 
cfdump var=#XmlResponse# label=
   https://www.eway.com.au/gateway/xmlpayment.asp;
[/code]
 
--
Duncan I Loxton
duncan.lox...@gmail.com
 
--
You received this message because you are subscribed to the Google
Groups cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
   http://groups.google.com/group/cfaussie?hl=en.
 
   --
   You received this message because you are subscribed to the Google
 Groups
   cfaussie group.
   To post to this group, send email to cfaussie@googlegroups.com.
   To unsubscribe from this group, send email to
   cfaussie+unsubscr...@googlegroups.com.
   For more options, visit this group at
  http://groups.google.com/group/cfaussie?hl=en.
 
   --
   Duncan I Loxton
   duncan.lox...@gmail.com
 
  --
  Duncan I Loxton
  duncan.lox...@gmail.com

 --
 You received this message

Re: [cfaussie] SSL issue with SecurePay Test env

2011-04-11 Thread Duncan
Restart CF? Yes we have done that, I can't do a full server reboot in the
middle of the day.

On my local Win 7 / 64bit - CF8 I have the same issue, I will try a full
reboot on this machine too and report back.



On Tue, Apr 12, 2011 at 12:34 PM, skateboard.com.au
w...@skateboard.com.auwrote:

 I have always had to restart the server after importing a new cert. Have
 you done that?

 cheers

 Drew

 -Original Message-
 From: Duncan duncan.lox...@gmail.com
 To: cfaussie cfaussie@googlegroups.com
 Date: Tue, 12 Apr 2011 12:01:24 +1000
 Subject: [cfaussie] SSL issue with SecurePay Test env

  Hi Everyone,
 
  Securepay issued a new SSL certificate on their test environment
  7/4/2011
  and it has had an effect on our code when running in test mode. I have
  isolated it to be related to the I/O Exception: peer not authenticated
  issue
  as detailed by Rob Gonda and Steven Erat
  - http://www.talkingtree.com/blog/index.cfm/2004/7/1/keytool
   -
  http://coldfusion-archive.robgonda.com/blog/index.cfm/2007/10/29/ErrorD
  etail-IO-Exception-peer-not-authenticated/
 
  However, I have followed these posts and imported the
  test.securepay.com.aucertificate and still ColdFusion 8 (Enterprise)
  doesn't like the URL. My Key
  store implies I have GeoTrust items in it, and it worked before the SSL
  change, so I am now a bit lost.
 
  I have put together a test script below, it is located at
  http://www.red5.com.au/gatewaytest.cfm so you can see the behaviour. I
  put
  in the Eway URL too, just as a sanity check.
 
  I would really appreciate some one running this on their own CF8
  environment
  to see if the issue exists there, and if so, does importing the
  certificate
  resolve the issue for you?
 
  Thanks!
 
  [code]
  cfsavecontent variable=XmlRequest
  ?xml version=1.0 encoding=UTF-8 ?
  SecurePayMessage
  MessageInfo
  messageID/messageID
  messageTimestamp#DateFormat(now(),
  mmdd)##TimeFormat(now(), HHmmssL000+600)#/messageTimestamp
  timeoutValue60/timeoutValue
  apiVersionxml-4.2/apiVersion
  /MessageInfo
  /SecurePayMessage
  /cfsavecontent
 
  cfhttp method=post url=https://www.securepay.com.au/xmlapi/payment;
  timeout=80 result=XmlResponse
  cfhttpparam type=xml value=#XmlRequest#/
  /cfhttp
 
  cfdump var=#XmlResponse# label=
  https://www.securepay.com.au/xmlapi/payment;
 
  cfhttp method=post
  url=https://test.securepay.com.au/xmlapi/payment;
  timeout=80 result=XmlResponse
  cfhttpparam type=xml value=#XmlRequest#/
  /cfhttp
 
  cfdump var=#XmlResponse# label=
  https://test.securepay.com.au/xmlapi/payment;
 
  cfhttp method=post
  url=https://www.eway.com.au/gateway/xmlpayment.asp;
  timeout=80 result=XmlResponse
  cfhttpparam type=xml value=#XmlRequest#/
  /cfhttp
 
  cfdump var=#XmlResponse# label=
  https://www.eway.com.au/gateway/xmlpayment.asp;
  [/code]
 
  --
  Duncan I Loxton
  duncan.lox...@gmail.com
 
  --
  You received this message because you are subscribed to the Google
  Groups cfaussie group.
  To post to this group, send email to cfaussie@googlegroups.com.
  To unsubscribe from this group, send email to
  cfaussie+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/cfaussie?hl=en.
 


 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.




-- 
Duncan I Loxton
duncan.lox...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] SSL issue with SecurePay Test env

2011-04-11 Thread Duncan
ok I tried a full restart on my development environment and there is no
change. I even tried importing the cert with a different alias, all
characters inline with all the others.

Do I need to import a root CA cert? If so how do I go about finding this?



On Tue, Apr 12, 2011 at 1:01 PM, Duncan duncan.lox...@gmail.com wrote:

 Restart CF? Yes we have done that, I can't do a full server reboot in the
 middle of the day.

 On my local Win 7 / 64bit - CF8 I have the same issue, I will try a full
 reboot on this machine too and report back.



 On Tue, Apr 12, 2011 at 12:34 PM, skateboard.com.au w...@skateboard.com.au
  wrote:

 I have always had to restart the server after importing a new cert. Have
 you done that?

 cheers

 Drew

 -Original Message-
 From: Duncan duncan.lox...@gmail.com
 To: cfaussie cfaussie@googlegroups.com
 Date: Tue, 12 Apr 2011 12:01:24 +1000
 Subject: [cfaussie] SSL issue with SecurePay Test env

  Hi Everyone,
 
  Securepay issued a new SSL certificate on their test environment
  7/4/2011
  and it has had an effect on our code when running in test mode. I have
  isolated it to be related to the I/O Exception: peer not authenticated
  issue
  as detailed by Rob Gonda and Steven Erat
  - http://www.talkingtree.com/blog/index.cfm/2004/7/1/keytool
   -
  http://coldfusion-archive.robgonda.com/blog/index.cfm/2007/10/29/ErrorD
  etail-IO-Exception-peer-not-authenticated/
 
  However, I have followed these posts and imported the
  test.securepay.com.aucertificate and still ColdFusion 8 (Enterprise)
  doesn't like the URL. My Key
  store implies I have GeoTrust items in it, and it worked before the SSL
  change, so I am now a bit lost.
 
  I have put together a test script below, it is located at
  http://www.red5.com.au/gatewaytest.cfm so you can see the behaviour. I
  put
  in the Eway URL too, just as a sanity check.
 
  I would really appreciate some one running this on their own CF8
  environment
  to see if the issue exists there, and if so, does importing the
  certificate
  resolve the issue for you?
 
  Thanks!
 
  [code]
  cfsavecontent variable=XmlRequest
  ?xml version=1.0 encoding=UTF-8 ?
  SecurePayMessage
  MessageInfo
  messageID/messageID
  messageTimestamp#DateFormat(now(),
  mmdd)##TimeFormat(now(), HHmmssL000+600)#/messageTimestamp
  timeoutValue60/timeoutValue
  apiVersionxml-4.2/apiVersion
  /MessageInfo
  /SecurePayMessage
  /cfsavecontent
 
  cfhttp method=post url=https://www.securepay.com.au/xmlapi/payment;
  timeout=80 result=XmlResponse
  cfhttpparam type=xml value=#XmlRequest#/
  /cfhttp
 
  cfdump var=#XmlResponse# label=
  https://www.securepay.com.au/xmlapi/payment;
 
  cfhttp method=post
  url=https://test.securepay.com.au/xmlapi/payment;
  timeout=80 result=XmlResponse
  cfhttpparam type=xml value=#XmlRequest#/
  /cfhttp
 
  cfdump var=#XmlResponse# label=
  https://test.securepay.com.au/xmlapi/payment;
 
  cfhttp method=post
  url=https://www.eway.com.au/gateway/xmlpayment.asp;
  timeout=80 result=XmlResponse
  cfhttpparam type=xml value=#XmlRequest#/
  /cfhttp
 
  cfdump var=#XmlResponse# label=
  https://www.eway.com.au/gateway/xmlpayment.asp;
  [/code]
 
  --
  Duncan I Loxton
  duncan.lox...@gmail.com
 
  --
  You received this message because you are subscribed to the Google
  Groups cfaussie group.
  To post to this group, send email to cfaussie@googlegroups.com.
  To unsubscribe from this group, send email to
  cfaussie+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/cfaussie?hl=en.
 


 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.




 --
 Duncan I Loxton
 duncan.lox...@gmail.com




-- 
Duncan I Loxton
duncan.lox...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Strange multiples of cookies being set

2010-09-15 Thread Duncan
Hi Folks,

I have a cookie related problem that I cannot get my head around.

See this page for example.

http://www.biowishtechnologies.com/au/information/our-company1/senior-management-team/lorenzo-gella/

If you click through a few pages on this site, then view the cookies that
have been set for it you will see they have been multiplied a lot of times,
I am guessing unnecessarily. I believe these cookies should be set only once
in the root of the site.

This issue appears to occur on CF9 in development and in CF8 on live. I have
tried different combinations of cfcookie and settings but nothing seems to
stop it happening.

In our application.cfc we have used this code in onRequestStart() to set UID
cfcookie name=UUID value=#createUUID()# expires=never

and we have these lines in there too.

cfcookie name=cfid value=#Client.cfid#
cfcookie name=cftoken value=#Client.cftoken#

The application is set out like this:

cfset this.sessionManagement = true
cfset this.clientManagement = true
cfset this.setClientCookies = false
cfset this.sessionTimeout = CreateTimeSpan(0,0,30,0)!--- 30 minutes
---
cfset this.applicationTimeout = CreateTimeSpan(31,0,0,0)!--- 31 days
---

Can anyone help me find out why we are seeing so many cookies, when really I
believe there should only be one CFID, CFTOKEN and UID cookie?

Thanks!

-- 
Duncan Loxton
duncan.lox...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] Strange multiples of cookies being set

2010-09-15 Thread Duncan
Thanks Steve,

I have tried this on my dev box and it makes no difference. In fact I
removed all cfcookie tags, and then CF set the jsessionid in a cookie. When
I refresh the page it creates 3 sets of cookies. Even Google analytics is
creating a new set of cookies on each request, which I find even wierder.

I have searched all the code and there is not one cfcookie tag in the files
now.

I put some logging in to my on session start and on app start, and here is
what I found:

-- empty on sessionstart()
application set as follows:
cfset this.sessionManagement = true
cfset this.clientManagement = true
cfset this.setClientCookies = false
cfset this.sessionTimeout = CreateTimeSpan(30,0,30,0)!--- 30 minutes
---
cfset this.applicationTimeout = CreateTimeSpan(31,0,0,0)!--- 31 days
---

creates one jsessionid cookie  4 x GA cookies _utma _utmb _utmc _utmz (all
in lowercase)

go to a sub page

get an extra 2 x jsessionid cookies, 2 more sets of GA cookies but this time
the names are in uppercase

go to a third page

I get 3 more jsessionid cookies (now a total of 6, and now have a set of 8
utma cookies.

The logging suggests that the session stays, and that the onsessionstart is
only called once.

Information,jrpp-11,09/16/10,13:06:45,LOCAL.BIOWISH.LOCAL,running
app new session
Information,jrpp-11,09/16/10,13:06:45,LOCAL.BIOWISH.LOCAL,running
app on req start

Information,jrpp-11,09/16/10,13:07:35,LOCAL.BIOWISH.LOCAL,running
app on req start

Information,jrpp-11,09/16/10,13:08:29,LOCAL.BIOWISH.LOCAL,running
app on req start

-- 

The exact same thing is happening on live with the GA cookies too. This
leads me to think its not about the CF code. Why would the GA cookies be
replicated and increased each request?


Is it me or is this super odd??



On Wed, Sep 15, 2010 at 5:49 PM, Steve Onnis st...@cfcentral.com.au wrote:

  It seems to be creating a cookie for each page you visit

 try

 cfcookie name=cfid value=#Client.cfid# domain=#server_name# path=
 cfcookie name=cftoken value=#Client.cftoken#  domain=#server_name#
 path=

 Also just put it in your onSessionStart() method. You only need to do it
 once

  --
 *From:* Duncan [mailto:duncan.lox...@gmail.com]
 *Sent:* Wednesday, 15 September 2010 5:44 PM
 *To:* cfaussie
 *Subject:* [cfaussie] Strange multiples of cookies being set

 Hi Folks,

 I have a cookie related problem that I cannot get my head around.

 See this page for example.


 http://www.biowishtechnologies.com/au/information/our-company1/senior-management-team/lorenzo-gella/

 If you click through a few pages on this site, then view the cookies that
 have been set for it you will see they have been multiplied a lot of times,
 I am guessing unnecessarily. I believe these cookies should be set only once
 in the root of the site.

 This issue appears to occur on CF9 in development and in CF8 on live. I
 have tried different combinations of cfcookie and settings but nothing seems
 to stop it happening.

 In our application.cfc we have used this code in onRequestStart() to set
 UID cfcookie name=UUID value=#createUUID()# expires=never

 and we have these lines in there too.

 cfcookie name=cfid value=#Client.cfid#
 cfcookie name=cftoken value=#Client.cftoken#

 The application is set out like this:

 cfset this.sessionManagement = true
 cfset this.clientManagement = true
 cfset this.setClientCookies = false
 cfset this.sessionTimeout = CreateTimeSpan(0,0,30,0)!--- 30 minutes
 ---
 cfset this.applicationTimeout = CreateTimeSpan(31,0,0,0)!--- 31 days
 ---

 Can anyone help me find out why we are seeing so many cookies, when really
 I believe there should only be one CFID, CFTOKEN and UID cookie?

 Thanks!

 --
 Duncan Loxton
 duncan.lox...@gmail.com

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaus...@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaus...@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.




-- 
Duncan I Loxton
duncan.lox...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: regex issue - windows chard

2008-12-28 Thread Duncan
Thanks Stephen - I will look into it.

On Thu, Dec 18, 2008 at 7:47 AM, Stephen M sgmul...@gmail.com wrote:


 Coincidence, I was just doing some work on our RSS service today when
 I noticed that IE doesn't handle weird caharcters pasted from WORD
 (like single left quotes).

 Firefox handles it gracefully, just putting a black diamond question
 mark character in its place. But IE carks it.

 Anyway, after searching the web I found this link to clean up the
 XML.  I haven't tried it yet but it look slike it will do the job

 http://www.bennadel.com/index.cfm?dax=blog:1155.view

 regards,
 Stephen

 On Dec 16, 12:00 pm, Duncan duncan.lox...@gmail.com wrote:
  Hi
 
  We have a small xml import and the client is putting in ALT+0160
 characters,
  windows non breaking spaces. These come out as capital A's with a
 squiggle
  on top when displayed on an HTML page.
 
  I need to find and replace them on the import script, but I cant work out
  what to search for. can anyone help?
 
  Thanks
 
  --
  Duncan I Loxton
  duncan.lox...@gmail.com
 



-- 
Duncan I Loxton
duncan.lox...@gmail.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] regex issue - windows chard

2008-12-15 Thread Duncan
Hi

We have a small xml import and the client is putting in ALT+0160 characters,
windows non breaking spaces. These come out as capital A's with a squiggle
on top when displayed on an HTML page.

I need to find and replace them on the import script, but I cant work out
what to search for. can anyone help?

Thanks

-- 
Duncan I Loxton
duncan.lox...@gmail.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cfchart problem

2008-06-08 Thread Duncan
Barry - thanks for the tip - I used chart designer and now I have a chart
that reads better because the x axis is now not so cluttered too!

The last thing I havent worked out yet is how to get the y axis to not go
below 0. If I enter the last value for either of the lines to 0, it simply
drops to -100,000 - which isnt desirable.

Duncan

On Sun, Jun 8, 2008 at 11:26 PM, Barry Beattie [EMAIL PROTECTED]
wrote:


 the cfchart tag would extrapolate the
 values for the missing points

 additionally,you may not actually have missing points as such, unless
 the CBA points/data 23 - 30 (your example) are missing compared to
 the other amount. it would be because they are missing at the end of
 the series where CBA is $0 and the new isInterpolated attribute
 mightn't help. I'm thinking X-Y plotting with the X years duration
 and Y loan $$$

 Thats because there are 22 numbers for the CBA, and 30 for My Loan

 exactly. while we (as humans) can compare the two curves of each
 series, they are not the same because they each have different amounts
 of points to plot (22 v 30). To plot the two series within the same
 chart, CBA's points 23-30 (30 = my loan last point) are $0. both now
 have 30 points.

 is it possible, instead of using the X axis as the main part of the
 series (which have variant plotting points), use the Y axis? both
 loans start and finish the same (Y axis), only the X axis changes -
 they should both generate the same number of points then. both CBA and
 My Loan would then hit $0 on their 30th point  (just at diffent
 years), although it'd be a  hell'o'a' calculation, since at the moment
 you're obviously using years to calculate each $ amount.

 this might not be a CF7/CF8 problem per se, but a more correct
 interpretation by CF8 on how the chart should work in this situation
 (ie: CF7 was sloppy, CF8 tightened it up - this is not unheard of)

 just throwing ideas around, YMMV

 cheers
 barry.b







 On Sun, Jun 8, 2008 at 8:50 PM, Barry Beattie [EMAIL PROTECTED]
 wrote:
  Duncan,
 
  I have an issue with cfchart - cf8 on windows. This issue is not
  happen in cf7, it only surfaced when we upgraded
 
 
  have you checked the release notes of CF8? it's highly likely there's
  some difference between the two versions.
 
 
 http://www.adobe.com/support/documentation/en/coldfusion/8/releasenotes.pdf
 
  Previously, if you plotted more than one chart series with multiple
  points, such that some points are present in one series but
  missing from the other one, the cfchart tag would extrapolate the
  values for the missing points. This behavior could not be
  controlled by the user.
  In this release, a new attribute isInterpolated=true|false,
  controls this behavior. You specify this attribute in the style file of
  the chart inside the frameChart tag.
 
 
 
 
 
  On Sat, Jun 7, 2008 at 11:00 AM, Duncan [EMAIL PROTECTED] wrote:
  All,
 
  I have an issue with cfchart - cf8 on windows. This issue sis not happen
 in
  cf7, it only surfaced when we upgraded.
 
  go to www.checkmyrate.com.au and do a search with the following
 details:
 
  CBA, Standard Variable, 9.44, 30 years, 30, Principal and Interest.
 
  See how the green lin (Best CBA) sits at 0 until it meets the Red line
 (your
  rate)?
 
  Thats because there are 22 numbers for the CBA, and 30 for My Loan. Can
  anyone give me a clue as to how I stop the green line at 0 and stop CF
  joining it to the red line on 0?
 
 
  Here is the data for those lines:
 
  CBA:(22)
  295806.718
  291251.136435
  286301.952624
  280925.15933
  275083.811097
  268737.770376
  261843.431736
  254353.422238
  246216.27592
  237376.08016
  227772.091486
  217338.31819
  206003.066882
  193688.449861
  180309.849929
  165775.338963
  149985.046249
  132830.472245
  114193.743047
  93946.8004467
  71950.5220054
  48053.7651068
 
  My Loan: (30)
  298206.718
  296244.150179
  294096.315957
  291745.726183
  289173.240735
  286357.91266
  283276.817616
  279904.867199
  276214.604662
  272175.981343
  267756.111982
  262919.006953
  257625.279209
  251831.823567
  245491.465712
  238552.578075
  230958.659445
  222647.874897
  213552.552287
  203598.631224
  192705.060011
  180783.135676
  167735.781684
  153456.757476
  137829.793381
  120727.643877
  102011.051459
  81527.6127166
  59110.5373572
  34577.2900839
 
 
 
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]
  
 
 

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] cfchart problem

2008-06-06 Thread Duncan
All,

I have an issue with cfchart - cf8 on windows. This issue sis not happen in
cf7, it only surfaced when we upgraded.

go to www.checkmyrate.com.au and do a search with the following details:

CBA, Standard Variable, 9.44, 30 years, 30, Principal and Interest.

See how the green lin (Best CBA) sits at 0 until it meets the Red line (your
rate)?

Thats because there are 22 numbers for the CBA, and 30 for My Loan. Can
anyone give me a clue as to how I stop the green line at 0 and stop CF
joining it to the red line on 0?


Here is the data for those lines:

CBA:(22)
295806.718
291251.136435
286301.952624
280925.15933
275083.811097
268737.770376
261843.431736
254353.422238
246216.27592
237376.08016
227772.091486
217338.31819
206003.066882
193688.449861
180309.849929
165775.338963
149985.046249
132830.472245
114193.743047
93946.8004467
71950.5220054
48053.7651068

My Loan: (30)
298206.718
296244.150179
294096.315957
291745.726183
289173.240735
286357.91266
283276.817616
279904.867199
276214.604662
272175.981343
267756.111982
262919.006953
257625.279209
251831.823567
245491.465712
238552.578075
230958.659445
222647.874897
213552.552287
203598.631224
192705.060011
180783.135676
167735.781684
153456.757476
137829.793381
120727.643877
102011.051459
81527.6127166
59110.5373572
34577.2900839




-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Best companies to approach for ColdFusion roles...?

2008-04-02 Thread Duncan
Hey Kai - thanks for the mention of Red5 - very encouraging to see that
someone has noticed what we do!

Fibonacci - send me you resume off list - check out www.red5.com.au for more
company info and email me at [EMAIL PROTECTED]

thanks!





On Thu, Feb 21, 2008 at 8:56 AM, Fibonacci [EMAIL PROTECTED]
wrote:


 Straker and Red5 I will give a go... Red Balloon Days... from memory,
 they don't use recruiters, so I might talk to them directly...

 M@, I never do expect them to call back, I usually end up calling them
 anyhow to confirm that the CV got through and then take it from
 there...

 Thanks guys...

 Regards,

 Eliseo

 On Feb 20, 6:49 pm, Kai Koenig [EMAIL PROTECTED] wrote:
  Eliseo,
 
  just to name a few in Sydney:
 
  - Daemon
  - Straker
  - Gruden
  - Red5
  - Red Balloon Days...
 
  Straker are currently looking for CF developers for the NZ office,
  not sure if that applies to Sydney as well.
 
  I'm currently seeing a huge demand for CF developers all over the
  place, both in AU and NZ, but that obviously depends how
  flexible you are - also not that deep into the Sydney market.
 
  Cheers
  Kai
 
  What a pity! I was hoping for a big break then! ;) LOL
 
  At any rate, does anyone have any ideal companies that specialize in
  ColdFusion, such as digital media agencies or large firms that use CF
  in their IT environment? I've only gotten so far with Google and my
  own surfing, and am hoping someone may have a list of some kind?
 
  Thanks,
 
  Eliseo
 
  On Feb 20, 9:36 am, Peter Bell [EMAIL PROTECTED] wrote:
   Mark's in Melbourne.
 
   Best Wishes,
   Peter
 
   On 2/19/08 5:31 PM, Fibonacci [EMAIL PROTECTED] wrote:
 
Mark, I'm located in Sydney... Homebush Bay to be precise so I'm
pretty central to any direction, west (towards Parramatta), north
(towards Hornsby) and east (towards the CBD)... I do have Fusebox
experience... so I will be able to adjust to it... If it's
 something
similar I'm sure I'd be able to adapt...
 
Are you by chance in Sydney as well?
 
Regards,
 
Eliseo aka Fibonacci Jones
 
On Feb 19, 5:42 pm, Mark Mandel [EMAIL PROTECTED] wrote:
Fibonacci,
 
Where do you live?  We're currently looking for a senior CF
 developer,
particularly one with framework experience.
 
Mark
 
On Feb 19, 2008 4:56 PM, Fibonacci [EMAIL PROTECTED]
 wrote:
 
Anybody have any great ideas as to which companies are best to
approach for CF Development roles, preferably in the senior
 level? I'm
running out of options and I want to get back in...
 
Regards,
 
Fibonacci Jones
 
--
E: [EMAIL PROTECTED]
W:www.compoundtheory.com
 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cf8 server monitor on jrun multi instance

2008-01-16 Thread Duncan
Can anyone help with this?

On Jan 15, 2008 11:13 AM, Duncan [EMAIL PROTECTED] wrote:

 How does the server monitor in a multi instance environment behave? Is
 each instance treated as another 'server', therefore requiring the use of
 the multiserver monitor?

 I am having issues adding either an instance or a complete server to the
 multiserver monitor, I cannot get the monitor to connect. The instructions
 on the use of the multiservermonitor-access-policy.xml are not entirely
 clear to me, especially when it comes to the separate instances. For example
 I have tried adding localhost:9301 with no success, the policy xml file even
 has allow-access-from domain=* /  a whitelist for all domain in it, but
 still no joy.

 Thanks

 --
 Duncan I Loxton
 [EMAIL PROTECTED]




-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Subversion service?

2008-01-16 Thread Duncan
cvsdude.com are great.

On Jan 17, 2008 10:30 AM, Ryan Sabir [EMAIL PROTECTED] wrote:

  Hi all, I'm going to get kicked for this because its been mentioned so
 many times on this list...

 What is the name of that company that offers Subversion as a hosted
 service? GB always talks about them in his WebDU talks

 thanks.


Ryan Sabir
 Technical Director

 *p:* (02) 9274 8030
 *f:* (02) 9274 8099
 *m:* 0411 512 454
 *w:* www.newgency.com *Newgency Pty Ltd*
 Web | Multimedia | eMarketing

 115 Cooper St
 Surry Hills NSW 2010
 Sydney, Australia


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cf8 server monitor on jrun multi instance

2008-01-16 Thread Duncan
My problem lies in connecting the multi server monitor to the instances on
the same machine I have 2 instances on each of my servers and I cant get the
multi instance of being able to register the servers.

entering localhost:9301 doesnt allow it to connect - I have tried all the
common ports, and the help doesnt seem to be much help to me.



On Jan 17, 2008 11:18 AM, MrBuzzy [EMAIL PROTECTED] wrote:

 I've done it... works for me. Sorry, I'd like to help but I can't really
 see where you're going wrong.

 FYI The muti-server monitor seems to capture summary information from each
 of the servers. You can 'drill down' to the single instance monitor to view
 further details. Have you been able to monitor a single instance?

 I find the CF8 server monitor is buggy and problematic, hence
 FusionReactor is the current weapon of choice.

 On Jan 17, 2008 9:41 AM, Duncan [EMAIL PROTECTED] wrote:

  Can anyone help with this?
 
 
  On Jan 15, 2008 11:13 AM, Duncan [EMAIL PROTECTED] wrote:
 
   How does the server monitor in a multi instance environment behave? Is
   each instance treated as another 'server', therefore requiring the use of
   the multiserver monitor?
  
   I am having issues adding either an instance or a complete server to
   the multiserver monitor, I cannot get the monitor to connect. The
   instructions on the use of the multiservermonitor-access-policy.xmlare 
   not entirely clear to me, especially when it comes to the separate
   instances. For example I have tried adding localhost:9301 with no success,
   the policy xml file even has allow-access-from domain=* /  a whitelist
   for all domain in it, but still no joy.
  
   Thanks
  
   --
   Duncan I Loxton
   [EMAIL PROTECTED]
 
 
 
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]
 
 
 

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] cf8 server monitor on jrun multi instance

2008-01-14 Thread Duncan
How does the server monitor in a multi instance environment behave? Is each
instance treated as another 'server', therefore requiring the use of the
multiserver monitor?

I am having issues adding either an instance or a complete server to the
multiserver monitor, I cannot get the monitor to connect. The instructions
on the use of the multiservermonitor-access-policy.xml are not entirely
clear to me, especially when it comes to the separate instances. For example
I have tried adding localhost:9301 with no success, the policy xml file even
has allow-access-from domain=* /  a whitelist for all domain in it, but
still no joy.

Thanks

-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] CF 8 upgrade require media to install??

2007-12-17 Thread Duncan
We just purchased cf8 ent and have word from the reseller that the original
media will need to be inserted in the machine that is to be upgraded:

*However, since these were UPGRADES and will NEED the media for the NEW
version (8 Ent 2CPU Upg f/ 6/7 Ent), to install properly, you will need to
forward these CD's to the actual location which now has the earlier versions
installed. Just sending the license keys will NOT allow installation.*

I cant believe this is correct. Has anyone else had this issue?

Currently I have 2 problems, the first is that the media is in New York, I
am in Sydney and my servers are in London and Texas.

Secondly, my contact in New York has opened the boxed media and she cant
find a license key that matches the format CF has used in the past, only a
6x4 serial number:  -----


-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF 8 upgrade require media to install??

2007-12-17 Thread Duncan
Thanks for the confirmation Andrew, are you actually using CF8 licensed?

What's the format of the CF8 License numbers?

My assumption would be something similar to previous CF editions such as
CED800-x-x-x

correct?

On Dec 18, 2007 9:45 AM, Andrew Scott [EMAIL PROTECTED] wrote:

  It's not correct.



 You install Coldfusion without the serial in developer or trial, then
 later when you go to enter your serial number you are asked for your
 previous serial number.



 That info comes from people who do not know how to install coldfusion, and
 applies to normal software upgrading.







 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.
 www.aegeon.com.au
 Phone: +613  9015 8628
 Mobile: 0404 998 273





 *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Duncan
 *Sent:* Tuesday, 18 December 2007 9:33 AM
 *To:* cfaussie; [EMAIL PROTECTED]
 *Subject:* [cfaussie] CF 8 upgrade require media to install??



 We just purchased cf8 ent and have word from the reseller that the
 original media will need to be inserted in the machine that is to be
 upgraded:

 *However, since these were UPGRADES and will NEED the media for the NEW
 version (8 Ent 2CPU Upg f/ 6/7 Ent), to install properly, you will need to
 forward these CD's to the actual location which now has the earlier versions
 installed. Just sending the license keys will NOT allow installation.*


 I cant believe this is correct. Has anyone else had this issue?

 Currently I have 2 problems, the first is that the media is in New York, I
 am in Sydney and my servers are in London and Texas.

 Secondly, my contact in New York has opened the boxed media and she cant
 find a license key that matches the format CF has used in the past, only a
 6x4 serial number:  -----


 --
 Duncan I Loxton
 [EMAIL PROTECTED]

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF 8 upgrade require media to install??

2007-12-17 Thread Duncan
Thanks Brett - it has no letters in it like keys of old? its all numeric?

On Dec 18, 2007 9:53 AM, Brett Payne-Rhodes [EMAIL PROTECTED] wrote:


 Hi Duncan,

 Sorry, I can't confirm the media issue (though I can't believe that that
 would be true!) but I can tell you that the licence key on my CF8 box is
 indeed a 6x4 serial key.

 Cheers,

 Brett
 B)


 Duncan wrote:
  We just purchased cf8 ent and have word from the reseller that the
  original media will need to be inserted in the machine that is to be
  upgraded:
 
  *However, since these were UPGRADES and will NEED the media for the NEW
  version (8 Ent 2CPU Upg f/ 6/7 Ent), to install properly, you will need
  to forward these CD's to the actual location which now has the earlier
  versions installed. Just sending the license keys will NOT allow
  installation.*
 
 
  I cant believe this is correct. Has anyone else had this issue?
 
  Currently I have 2 problems, the first is that the media is in New York,
  I am in Sydney and my servers are in London and Texas.
 
  Secondly, my contact in New York has opened the boxed media and she cant
  find a license key that matches the format CF has used in the past, only
  a 6x4 serial number:  -----
 
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  

 --
 Brett Payne-Rhodes
 Eaglehawk Computing
 t: +61 (0)8 9371-0471
 m: +61 (0)414 371 047
 e: [EMAIL PROTECTED]
 w: www.yoursite.net.au
 Movember: http://www.ehc.net.au/movember



 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Webservice Security - cookie/session/custom token

2007-12-13 Thread Duncan
Thanks Peter, thats the kind of approach we have used before, its always
nice to get a sanity check.

Would you pass it through in the SOAP header or just as another param in the
body?

Thanks for coming to cfcamp too, enjoyed your preso in Sydney

Duncan

On Dec 13, 2007 9:15 PM, Barry Beattie [EMAIL PROTECTED] wrote:


 LOL! you're ahead of your time, obvoiusly!

 this list could always (unofficially) prood read the article for
 you... we won't tell anyone - honest!

 On Dec 13, 2007 7:40 PM, Peter Bell [EMAIL PROTECTED] wrote:
 
  Well, I wrote an article for the upcoming FAQU on this very topic if
 that
  helps . . . I'll try to get a blog post up, but don't want to beat my
 own
  article to the punch!
 
  Best Wishes,
  Peter
 
 
 
  On 12/13/07 1:52 AM, Barry Beattie [EMAIL PROTECTED] wrote:
 
  
   Peter,
  
   you wouldn't happen to have a blog entry or two (or recommend such)
   on this, would y' now? by chance, perhaps?
  
  
  
  
  
   On Dec 13, 2007 4:41 PM, Peter Bell [EMAIL PROTECTED] wrote:
  
We use a taken based approach. +1 for password with every request
 not being
   an ideal approach, and you've got to look out for sessions with web
   services. I'm not sure that they will be available. As for cookies,
 we
   decided it'd be easier for us (and our partners) to just pass a
 parameter
   explicitly rather than to have to write the code to work with
 cookies.
  
Our general approach is:
- Client calls authenticate method ­ authenticate(User, Pass)
- Method returns either a token or an error code based on API
- Client calls any other method, one of the required parameters is
 the
   token
- All methods validate the token and either return an appropriate
 error
   code (invalid, expired, malformed, etc) as per API or go ahead and
 return
   the expected value.
  
Best Wishes,
Peter
  
  
  
  
  
On 12/13/07 12:51 AM, Zac Spitzer [EMAIL PROTECTED] wrote:
  
  
  
   passing the password in every request just feels bad, everything else
 aside
  
tokens work well in my experience, cookies and tokens are pretty
 much the
   same idea
slightly differently executed...
  
i think in terms of interoperability tokens are the best
  
z
  
On Dec 13, 2007 4:39 PM, Duncan [EMAIL PROTECTED] wrote:
  
   Hi all,
  
We are just embarking on a WebServices project and I would like some
   opinion on the best way to run authentication for it.
  
I am looking for opinion on each of the following methods with
 regards to
   the ease it takes to integrate to it from another language or CF. We
 could
   have .NET, Java etc connecting to it so we need something that is
 secure,
   but still straight forward for others to integrate with quickly.
  
As far as I know there would be 3 ways to handle the authentication
 on a
   high level, Cookie/session, custom token, auth on every request. I
 have done
   this before, but never sought opinion from the outside world.
  
My thoughts are as follows:
  
- Cookies: can be used to save data provided by CF to refer back to
 session
   or client variables just the same way as a browser session. OK, but I
   understand that the cookie values would be written into the SOAP
 header.
   This would also involve extra programming on the consumer side.
Pro: CF handles timeouts etc simply via the application.cfc, only
 login
   once
Con: extra coding for consumer to turn around headers each request
  
- Custom token
Pro: only lookup user once
Con: token changes on each request to update timestamp. Custom code
 to work
   out timeouts and if still logged in etc.
  
- Pass username / password on each request:
Pro: no persistent data, no complications of passing specific
 variables
   back and forth
Con: have to pass probably more data than required, more processing
 than
   required as will have to look up user on every request.
  
1) Do any of these require more work for, say, a Java or .NET
 developer to
   consume than another one?
2) Is passing the usr/pwd on every request considered unsecure?
 (This will
   run over SSL exclusively).
3) Is there best practice in the CF world for this? If so is it one
 of
   these methods or something I missed?
  
Thanks all!
  
  
  
  
  
   
 
 
 
 
  
 

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Webservice Security - cookie/session/custom token

2007-12-12 Thread Duncan
Hi all,

We are just embarking on a WebServices project and I would like some opinion
on the best way to run authentication for it.

I am looking for opinion on each of the following methods with regards to
the ease it takes to integrate to it from another language or CF. We could
have .NET, Java etc connecting to it so we need something that is secure,
but still straight forward for others to integrate with quickly.

As far as I know there would be 3 ways to handle the authentication on a
high level, Cookie/session, custom token, auth on every request. I have done
this before, but never sought opinion from the outside world.

My thoughts are as follows:

- Cookies: can be used to save data provided by CF to refer back to session
or client variables just the same way as a browser session. OK, but I
understand that the cookie values would be written into the SOAP header.
This would also involve extra programming on the consumer side.
Pro: CF handles timeouts etc simply via the application.cfc, only login once
Con: extra coding for consumer to turn around headers each request

- Custom token
Pro: only lookup user once
Con: token changes on each request to update timestamp. Custom code to work
out timeouts and if still logged in etc.

- Pass username / password on each request:
Pro: no persistent data, no complications of passing specific variables back
and forth
Con: have to pass probably more data than required, more processing than
required as will have to look up user on every request.

1) Do any of these require more work for, say, a Java or .NET developer to
consume than another one?
2) Is passing the usr/pwd on every request considered unsecure? (This will
run over SSL exclusively).
3) Is there best practice in the CF world for this? If so is it one of these
methods or something I missed?

Thanks all!

-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: good server/website monitoring tool

2007-12-02 Thread Duncan
There are a number of services that are generic, and do things like hit a
port to see if it responds, or a URL and look for specific text.

We use www.alertra.com and www.watchmouse.com

HTH

Duncan

On Dec 2, 2007 10:37 AM, Barry Beattie [EMAIL PROTECTED] wrote:


 Taco, I coulda sworn that Charlie Arehart has presented on this very
 topic... but can't find it anywhere

 my former place of employ used an older version on their production
 servers, and (IMHO) it was a godsend as far as keeping informed of
 server health.

 (Haikal: additional comments?)

 going thru the captured Breezo's here
 http://carehart.org/ugtv
 shows there *is* a presso or two that could be a good start.

 HTH
 barry.b


 On Dec 2, 2007 7:48 AM, Taco Fleur [EMAIL PROTECTED] wrote:
  That does look like a cool app..
  Is anybody out there using this? I thought I'd read some posts saying it
  slowed the server down?
 
  I could be wrong, but it looks like there is no SMS notification going
 out
  when down?
 
 
  On 12/1/07, Slava Khokhlov [EMAIL PROTECTED] wrote:
  
  
   try seefusion http://www.seefusion.com/
  
  
   The new Australian search engine for businesses, products and services

  
 

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: AES decryption problem

2007-10-18 Thread Duncan
1) Original 24 character Key used for encryption:

7+8Jh+dWEf123456789087==

We decided on this key because we couldn't get the padding to work, and I
generated one in CF using the generateSecretKey() function. This then gave
me some rules to define a key that wouldn't cause us problems. And we will
change it again once we go to production.


2) Data before encyption - original clear text:

98817:7[EMAIL PROTECTED]


3) Data after .NET encryption cipherText:

˜¤ªáQk \¬¶8j *M¡QÝwx¹^ƒVð½_[1]•‚ Ò¸‹¬‰Ö ÏDoU\'  •GՇ(R)м£+–£ì  ‰´

He has then been base64 encoding the cipher text to make it easier to pass
through the URL.

Other things I noticed:

.NET using a component built and installed into FoxPro,
http://www.sweetpotatosoftware.com/SPSBlog/CommentView,guid,5d4a0cf0-7d1d-4353-a49b-667946ff1c81.aspx

The encrypted string is not in UTF-8, and CF expects UTF-8
I updated the jar files to cope with 24 bit keys as per the technote
http://www.adobe.com/go/e546373d (although CF seemed to be able to
generate and decypt AES 24 ok before this upgrade)

We cant use another AES mode such as CFB because he has no knowledge
of the IV, however he is going to contact the original developer to
see if this is hard coded and not exposed in the DLL.

On 10/17/07, Pat Branley [EMAIL PROTECTED] wrote:


 Duncan

 What I think is happening is that CF expects the key to be Base64
 encoded, hence the problems with , ^ and the need for == at the end.
 Try using the 'sun.misc.BASE64Encoder' class to encode the key before
 passing it to the decrypt / encrypt functions.

 Pat

 On Oct 17, 10:22 am, Duncan [EMAIL PROTECTED] wrote:
  I am waiting on the third party to redo the encryption with a key that
  doesn't have any required padding i.e. they provide a full 24 char
  string) and doesn't have any of the identified dodgy chars  and ^
 
  'It works fine' means encrypting and decrypting within CF using an
  example such as Pete Freitags
 entryhttp://www.petefreitag.com/item/222.cfmAnd substituting the
  GenerateSecretKey() with a hand written key.
 
  So far I have only established that CF has some issues with the key he
  provided. I have no idea if we will be able to decrypt it properly
  yet.
 
  I will update with some more info once I get a new key from the .NET
 guy!
 
  On 10/16/07, MrBuzzy [EMAIL PROTECTED] wrote:
 
 
 
 
 
   Hi Duncan, you had a lot of stuff going on there :)
 
   When you say 'it works fine'... have you soled your problem? Or only
 part?
 
   Perhaps you could post the updated source code.
 
   Cheers.
 
On 10/16/07, Duncan [EMAIL PROTECTED] wrote:
 
So far in my investigation and trial and error, I have discovered
 that
the AES key you use cannot have ^ or  in it. The key we were
 provided
by the .NET side did have these in. Another thing is that padding to
24 characters renders the error  The key specified is not a valid
 key
for this encryption: Invalid AES key length: 7 bytes - 7 bytes? Its
like CF doesnt even see the extra spaces. So I replaced the spaces
with 3's and I get an 18 byte string? What in the wierd?
 
Replace the last 2 characters with == and it works fine, my manually
generated key is 7+8sh+dWEf==
 
I am putting this out there because its causing me no end of
 problems,
and I cant find anything out in google land or on blogs about this.
 
On 10/16/07, Duncan [EMAIL PROTECTED] wrote:
 I hope someone with a little knowledge of Encryption and AES stuff
 can
 help me out with how to  use a provided key to decrypt some info.
 
 Your time here would be greatly appreciated. Details below.
 
 On 10/15/07, Duncan  [EMAIL PROTECTED] wrote:
  Hi all,
 
  I have a token that is being passed in via the URL, that is
 generated
  in a .NET program. I am having trouble decoding it in CF 8 so I
 was
  hoping that someone could give me a hand. I am very frustrated
 with
  this as this is my first dive into AES.
 
  The .NET developer gave me the following instructions:
 
  These are the steps needed to return the key in the email back
 to it's
  original state
 
  1.   URLDecode the key
  2.   Convert result to decoded base64 binary
  3.   Remove chr(0) from end of string
  4.   Decrypt from  AES192 (requires a 24 character
 Key).  Hence
  make sure you pad the hash  key with spaces at the end up to 24
  characters
 
  And here is what I have code wise now (I changed the key to keep
 it
   private):
 
  cfoutput
  !--- comes in via URL ---
  cfset
  
 forDec=OTg4MTc6NjcmOEpoXmRXRWY0JSVHWUcqb2xpa3VqZGxveHRvbkByZWQ1LmNvbS5hdQ%­3D%3D
  !--- padded with spaces to make 24 chars ---
  cfset key=7KSK^8SID  
  br /#forDec#
  !--- 1. URLDecode the key ---
  cfset forDec = URLDecode(forDec)
  br /#forDec#
  !--- 2. Convert result to decoded base64 binary ---
  cfset forDec = BinaryDecode(forDec,base64

[cfaussie] Re: AES decryption problem

2007-10-16 Thread Duncan

I am waiting on the third party to redo the encryption with a key that
doesn't have any required padding i.e. they provide a full 24 char
string) and doesn't have any of the identified dodgy chars  and ^

'It works fine' means encrypting and decrypting within CF using an
example such as Pete Freitags entry
http://www.petefreitag.com/item/222.cfm And substituting the
GenerateSecretKey() with a hand written key.

So far I have only established that CF has some issues with the key he
provided. I have no idea if we will be able to decrypt it properly
yet.

I will update with some more info once I get a new key from the .NET guy!

On 10/16/07, MrBuzzy [EMAIL PROTECTED] wrote:
 Hi Duncan, you had a lot of stuff going on there :)

 When you say 'it works fine'... have you soled your problem? Or only part?

 Perhaps you could post the updated source code.

 Cheers.


  On 10/16/07, Duncan [EMAIL PROTECTED] wrote:
 
  So far in my investigation and trial and error, I have discovered that
  the AES key you use cannot have ^ or  in it. The key we were provided
  by the .NET side did have these in. Another thing is that padding to
  24 characters renders the error  The key specified is not a valid key
  for this encryption: Invalid AES key length: 7 bytes - 7 bytes? Its
  like CF doesnt even see the extra spaces. So I replaced the spaces
  with 3's and I get an 18 byte string? What in the wierd?
 
  Replace the last 2 characters with == and it works fine, my manually
  generated key is 7+8sh+dWEf==
 
  I am putting this out there because its causing me no end of problems,
  and I cant find anything out in google land or on blogs about this.
 
  On 10/16/07, Duncan [EMAIL PROTECTED] wrote:
   I hope someone with a little knowledge of Encryption and AES stuff can
   help me out with how to  use a provided key to decrypt some info.
  
   Your time here would be greatly appreciated. Details below.
  
   On 10/15/07, Duncan  [EMAIL PROTECTED] wrote:
Hi all,
   
I have a token that is being passed in via the URL, that is generated
in a .NET program. I am having trouble decoding it in CF 8 so I was
hoping that someone could give me a hand. I am very frustrated with
this as this is my first dive into AES.
   
The .NET developer gave me the following instructions:
   
These are the steps needed to return the key in the email back to it's
original state
   
1.   URLDecode the key
2.   Convert result to decoded base64 binary
3.   Remove chr(0) from end of string
4.   Decrypt from  AES192 (requires a 24 character Key).  Hence
make sure you pad the hash  key with spaces at the end up to 24
characters
   
And here is what I have code wise now (I changed the key to keep it
 private):
   
cfoutput
!--- comes in via URL ---
cfset
 forDec=OTg4MTc6NjcmOEpoXmRXRWY0JSVHWUcqb2xpa3VqZGxveHRvbkByZWQ1LmNvbS5hdQ%3D%3D
!--- padded with spaces to make 24 chars ---
cfset key=7KSK^8SID  
br /#forDec#
!--- 1. URLDecode the key ---
cfset forDec = URLDecode(forDec)
br /#forDec#
!--- 2. Convert result to decoded base64 binary ---
cfset forDec = BinaryDecode(forDec,base64)
!--- we now have binary object ---
cfdump var=#forDec#
!---3. Remove chr(0) from end of string ---
!--- I cant put a trim on to a binary object, nor can I do a
ReplacenoCase() ---
   
!---4. Decrypt from  AES192 (requires a 24 character Key).  Hence
make sure you pad the hash  key with spaces at the end up to 24
characters---
cfset key = Decrypt(forDec,key,AES,base64)
/cfoutput
   
This results in a bytearray cannot be converted to strings error. So I
tried forDec.toString(), but every request this generates a different
value - how can this be?
   
cfset key =
 Decrypt(BinaryEncode(forDec,base64),BinaryDecode(key,base64),AES,base64)
   
Results in getting an error that  The input and output encodings are
not same.
   
I am at a loss and tearing my hair out - can anyone help me out
 here???
   
--
Duncan I Loxton
[EMAIL PROTECTED]
   
  
  
   --
   Duncan I Loxton
   [EMAIL PROTECTED]
  
 
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]
 
 


  



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: AES decryption problem

2007-10-15 Thread Duncan

I hope someone with a little knowledge of Encryption and AES stuff can
help me out with how to  use a provided key to decrypt some info.

Your time here would be greatly appreciated. Details below.

On 10/15/07, Duncan [EMAIL PROTECTED] wrote:
 Hi all,

 I have a token that is being passed in via the URL, that is generated
 in a .NET program. I am having trouble decoding it in CF 8 so I was
 hoping that someone could give me a hand. I am very frustrated with
 this as this is my first dive into AES.

 The .NET developer gave me the following instructions:

 These are the steps needed to return the key in the email back to it's
 original state

 1.   URLDecode the key
 2.   Convert result to decoded base64 binary
 3.   Remove chr(0) from end of string
 4.   Decrypt from  AES192 (requires a 24 character Key).  Hence
 make sure you pad the hash  key with spaces at the end up to 24
 characters

 And here is what I have code wise now (I changed the key to keep it private):

 cfoutput
 !--- comes in via URL ---
 cfset 
 forDec=OTg4MTc6NjcmOEpoXmRXRWY0JSVHWUcqb2xpa3VqZGxveHRvbkByZWQ1LmNvbS5hdQ%3D%3D
 !--- padded with spaces to make 24 chars ---
 cfset key=7KSK^8SID  
 br /#forDec#
 !--- 1. URLDecode the key ---
 cfset forDec = URLDecode(forDec)
 br /#forDec#
 !--- 2. Convert result to decoded base64 binary ---
 cfset forDec = BinaryDecode(forDec,base64)
 !--- we now have binary object ---
 cfdump var=#forDec#
 !---3. Remove chr(0) from end of string ---
 !--- I cant put a trim on to a binary object, nor can I do a
 ReplacenoCase() ---

 !---4. Decrypt from  AES192 (requires a 24 character Key).  Hence
 make sure you pad the hash  key with spaces at the end up to 24
 characters---
 cfset key = Decrypt(forDec,key,AES,base64)
 /cfoutput

 This results in a bytearray cannot be converted to strings error. So I
 tried forDec.toString(), but every request this generates a different
 value - how can this be?

 cfset key = 
 Decrypt(BinaryEncode(forDec,base64),BinaryDecode(key,base64),AES,base64)

 Results in getting an error that  The input and output encodings are
 not same.

 I am at a loss and tearing my hair out - can anyone help me out here???

 --
 Duncan I Loxton
 [EMAIL PROTECTED]



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: AES decryption problem

2007-10-15 Thread Duncan

So far in my investigation and trial and error, I have discovered that
the AES key you use cannot have ^ or  in it. The key we were provided
by the .NET side did have these in. Another thing is that padding to
24 characters renders the error  The key specified is not a valid key
for this encryption: Invalid AES key length: 7 bytes - 7 bytes? Its
like CF doesnt even see the extra spaces. So I replaced the spaces
with 3's and I get an 18 byte string? What in the wierd?

Replace the last 2 characters with == and it works fine, my manually
generated key is 7+8sh+dWEf==

I am putting this out there because its causing me no end of problems,
and I cant find anything out in google land or on blogs about this.

On 10/16/07, Duncan [EMAIL PROTECTED] wrote:
 I hope someone with a little knowledge of Encryption and AES stuff can
 help me out with how to  use a provided key to decrypt some info.

 Your time here would be greatly appreciated. Details below.

 On 10/15/07, Duncan [EMAIL PROTECTED] wrote:
  Hi all,
 
  I have a token that is being passed in via the URL, that is generated
  in a .NET program. I am having trouble decoding it in CF 8 so I was
  hoping that someone could give me a hand. I am very frustrated with
  this as this is my first dive into AES.
 
  The .NET developer gave me the following instructions:
 
  These are the steps needed to return the key in the email back to it's
  original state
 
  1.   URLDecode the key
  2.   Convert result to decoded base64 binary
  3.   Remove chr(0) from end of string
  4.   Decrypt from  AES192 (requires a 24 character Key).  Hence
  make sure you pad the hash  key with spaces at the end up to 24
  characters
 
  And here is what I have code wise now (I changed the key to keep it 
  private):
 
  cfoutput
  !--- comes in via URL ---
  cfset 
  forDec=OTg4MTc6NjcmOEpoXmRXRWY0JSVHWUcqb2xpa3VqZGxveHRvbkByZWQ1LmNvbS5hdQ%3D%3D
  !--- padded with spaces to make 24 chars ---
  cfset key=7KSK^8SID  
  br /#forDec#
  !--- 1. URLDecode the key ---
  cfset forDec = URLDecode(forDec)
  br /#forDec#
  !--- 2. Convert result to decoded base64 binary ---
  cfset forDec = BinaryDecode(forDec,base64)
  !--- we now have binary object ---
  cfdump var=#forDec#
  !---3. Remove chr(0) from end of string ---
  !--- I cant put a trim on to a binary object, nor can I do a
  ReplacenoCase() ---
 
  !---4. Decrypt from  AES192 (requires a 24 character Key).  Hence
  make sure you pad the hash  key with spaces at the end up to 24
  characters---
  cfset key = Decrypt(forDec,key,AES,base64)
  /cfoutput
 
  This results in a bytearray cannot be converted to strings error. So I
  tried forDec.toString(), but every request this generates a different
  value - how can this be?
 
  cfset key = 
  Decrypt(BinaryEncode(forDec,base64),BinaryDecode(key,base64),AES,base64)
 
  Results in getting an error that  The input and output encodings are
  not same.
 
  I am at a loss and tearing my hair out - can anyone help me out here???
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]
 


 --
 Duncan I Loxton
 [EMAIL PROTECTED]



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Australian postcode database

2007-08-28 Thread Duncan

you can take a look at my implementation at
http://www.sixfive.co.uk/index.cfm/2007/3/25/Geocoding-Australian-Postcodes

This was done back in March, and AusPost only update once every qurater or so.

hope that helps!

Duncan

On 8/29/07, michael sharman [EMAIL PROTECTED] wrote:

 Hi guys,

 I need to create some store locator functionality, does anyone know
 where I can find an up to date copy of all postcodes with long/lat
 coordinates for Australia?

 Thanks


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] providing CF webservice for .net question

2007-08-23 Thread Duncan

Hi everyone,

I am in the process of writing a webservice that will be consumed by
.NET. Unfortunately I am not writing the spec, they have already done
this and I have a few questions that they couldn't answer.

First the spec: http://portalinterface.online-int.net/index.asmx

And the wsdl: http://portalinterface.online-int.net/index.asmx?wsdl

Taking the simplest method here, Check_Login am I to be expecting one
complex object from them of type Check_Login or will CF pick up the
information simply using arguments?

e.g.
cffunction name=Check_Login access=remote returntype=Any
output=false hint=Performs a test login on the portal

cfargument name=CallerIdentity type=String required=true
cfargument name=PropertyCode type=String required=true
cfargument name=UserName type=String required=true
cfargument name=Password type=String required=true

Likewise on the response, do I need to simply out put some XML in the format:

Check_LoginResponse xmlns=http://#CGI.HTTP_HOST#/;
Check_LoginResulttrue/Check_LoginResult
ErrorText/ErrorText
/Check_LoginResponse

or are they expecting a complex object (created in CF with cfproperty)
of type Check_LoginResponse?

Typically the guy that wrote this spec didnt know what a complex
object was.. so he wasnt any help to me.

Thanks in advance.

-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] CFAdmin not working on multi instance CF7

2007-08-07 Thread Duncan

I have a server running multi-instance CF7 on JRun. A total of 3
instances, the default cfusion, and 2 more, that are clustered
together.

The cf administrator works fine in the default instances, however when
I log in to one of the instances I get the top right frame, and then
the other frames just hang. If I want to change anything I have to
load the cfm page directly outside the frames in order to get to the
settings.

Whats going on here?

Win 2003 Server. IIS 6.

-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: eWay Payment Gateway Integration

2007-07-28 Thread Duncan

Chris,

Not in the office right now, but we use them alot. I will send you
something off list.

Duncan

On 7/20/07, Chris Ellem [EMAIL PROTECTED] wrote:

 Has anyone used this provider or have any generic code on the CF
 intregration of the XML payment method.

 I already have the CF code for the shared payment method.

 Thanks in advance


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Application object

2007-06-06 Thread Duncan

I think its because you have variables.componentPath in the string to
go find it. On application start this wont exist.

Personally I would set this up as an application variable, then after
that set up the object.

On 6/7/07, George Lu [EMAIL PROTECTED] wrote:
 No, I've tried Andrew's method:

  cffunction name=onRequestStart returnType=boolean
 cfargument type=String name=targetPage required=true /

 cfif isDefined(url.updateapp)
 cfset result = onApplicationEnd() /
 cfset result = onApplicationStart() /
 /cfif

 cfset request.componentPath = variables.componentPath /
 cfset request.surveyDAO = Application.surveyDAO /
 cfset request.dsn = variables.dsn /

  cfreturn true
 /cffunction

 and the same error again.


 On 07/06/07, George Lu [EMAIL PROTECTED] wrote:
  Dale,
 
  I put the application scope on top of the page then it works. Maybe I
 should do it as Andrew suggested. Thanks everyone.
 
 
 
  On 07/06/07, Dale Fraser [EMAIL PROTECTED] wrote:
  
  
  
  
   Are you sure it got created.
  
  
  
   Possibly added the OnApplicationStart code after the app was already
 started.
  
  
  
   Dump the Application scope and see of the surveyDAO exists in it.
  
  
  
   Regards
  
   Dale Fraser
  
  
  
   http://dalefraser.blogspot.com
  
  
  
  
   From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of George Lu
   Sent: Thursday, 7 June 2007 12:32 PM
   To: CFAussie Mailing List
   Subject: [cfaussie] Application object
  
  
  
  
   Hi,
  
   I create an object in Application.cfc and put it in the application
 scope. When I use it in other pages it comes up this error:
  
  
   Element SURVEYDAO is undefined in a Java object of type class
 [Ljava.lang.String; referenced as
  
  
   The object in application.cfc:
   cffunction name=OnApplicationStart
   cfset Application.surveyDAO =
 createObject(component,variables.componentPath 
 .components.surveyDAO).init(variables.dsn) /
   cfset Application.hrSurveyObj = CreateObject(component,
 CFC.DataMgr).init(HR,MSSQL) /
   /cffunction
  
   The code causing the error:
   cfset Application.surveyDAO.delete(url.userID) /
  
   Please help!
  
   George
  
  
  
  
  
 
 


  



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF Cluster

2007-06-05 Thread Duncan

I believe so, only if you dont have any sites running under it.

We do

cfusion (default instance)
 - staging
 - testing

cluster contains
- instance1 and instance2
for production

so we cant stop the default cfusion service.


On 6/5/07, Taco Fleur [EMAIL PROTECTED] wrote:
 I'm guessing the cf instance can tehn be disabled - untill I need to manage
 the cluster again?


 On 6/5/07, Duncan [EMAIL PROTECTED] wrote:
 
 
  Yep, you will end up with 4 services, a jrun manager, a cf manager,
  and 2 instances that you can cluster.
 
  the jrun manager service hosts Jrun (duh) and then that runs the
  default cf instance. this is the only cf instance that gives you the
  cluster manager in administrator. Once you create another instance you
  will notice that it doesnt have the cluster manager options.
 
  On 6/4/07, Peter Tilbrook [EMAIL PROTECTED] wrote:
  
   I think you are correct on this also. I also remember the samples
   instance not being active by default. So yes create a new Instance -
   and the beauty of that is it could be a CF6.x, 7.x and now 8.x if
   required. Of course the resources consumed can be extreme.
  
   On 04/06/07, Haikal Saadh [EMAIL PROTECTED] wrote:
   
This is digging into memory so deep that I might as well be pulling it
out of my bum, but I think it might have something to do with the fact
that when running multi instance, you're not supposed to use the
'default' instance? That's meant to be there for just the jRun
Management Console and such stuff to run.
   
In our setup, we have (had?) left the default instances alone, and
 made
new ones for actual use.
   
30 second google didn't turn up any evidence to confirm this, so take
 it
with a bag of salt, but I vaguely remember this as being the case.
   
Taco Fleur wrote:

 Just wondering when setting up a cluster in CF Ent. why can't one
 add
 the default instance to the cluster?
 It looks to me like I would need to have 3 instances, and only two
 can
 be added to a cluster.

 I've created an instance of CF, created a cluster and was expecting
 to
 be able to add the default instance plus the one I created.

 Thanks in advance.
 --
 http://www.clickfind.com.au
 The new Australian search engine for businesses, products and
 services

 
   
   

   
  
  
   --
   Peter Tilbrook
   ColdGen Internet Solutions
   President, ACT and Region ColdFusion Users Group
   PO Box 2247
   Queanbeyan, NSW, 2620
   AUSTRALIA
  
   http://www.coldgen.com/
   http://www.actcfug.com/
  
   Tel: +61-2-6284-2727
   Mob: +61-0432-897-437
  
   Email: [EMAIL PROTECTED]
   MSN Messenger Live: Desktop General
  
   
  
 
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]
 
  http://www.clickfind.com.au
  The new Australian search engine for businesses, products and services
   
 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF Cluster

2007-06-04 Thread Duncan

Yep, you will end up with 4 services, a jrun manager, a cf manager,
and 2 instances that you can cluster.

the jrun manager service hosts Jrun (duh) and then that runs the
default cf instance. this is the only cf instance that gives you the
cluster manager in administrator. Once you create another instance you
will notice that it doesnt have the cluster manager options.

On 6/4/07, Peter Tilbrook [EMAIL PROTECTED] wrote:

 I think you are correct on this also. I also remember the samples
 instance not being active by default. So yes create a new Instance -
 and the beauty of that is it could be a CF6.x, 7.x and now 8.x if
 required. Of course the resources consumed can be extreme.

 On 04/06/07, Haikal Saadh [EMAIL PROTECTED] wrote:
 
  This is digging into memory so deep that I might as well be pulling it
  out of my bum, but I think it might have something to do with the fact
  that when running multi instance, you're not supposed to use the
  'default' instance? That's meant to be there for just the jRun
  Management Console and such stuff to run.
 
  In our setup, we have (had?) left the default instances alone, and made
  new ones for actual use.
 
  30 second google didn't turn up any evidence to confirm this, so take it
  with a bag of salt, but I vaguely remember this as being the case.
 
  Taco Fleur wrote:
  
   Just wondering when setting up a cluster in CF Ent. why can't one add
   the default instance to the cluster?
   It looks to me like I would need to have 3 instances, and only two can
   be added to a cluster.
  
   I've created an instance of CF, created a cluster and was expecting to
   be able to add the default instance plus the one I created.
  
   Thanks in advance.
   --
   http://www.clickfind.com.au
   The new Australian search engine for businesses, products and services
  
   
 
 
  
 


 --
 Peter Tilbrook
 ColdGen Internet Solutions
 President, ACT and Region ColdFusion Users Group
 PO Box 2247
 Queanbeyan, NSW, 2620
 AUSTRALIA

 http://www.coldgen.com/
 http://www.actcfug.com/

 Tel: +61-2-6284-2727
 Mob: +61-0432-897-437

 Email: [EMAIL PROTECTED]
 MSN Messenger Live: Desktop General

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF Cluster on one machine!?

2007-06-04 Thread Duncan

We run 2 machines via a load balancer with sticky sessions, then have
3 instances on each machine. the default instance runs testing and
staging sites, and then we have a cluster that runs 2 instances for
the production application.

It runs great. The best advantage is that if one instance gets stuck
with some long running thread the other instance can start taking more
load and that happens alot faster than a load balancer can recognise a
problem, this means users get a better experience.

My view on this is that its worth doing, you are effectively adding
more servers with out the cost of more rackspace.

Its cheap to add some more RAM to hold it all together.

On 6/5/07, Haikal Saadh [EMAIL PROTECTED] wrote:

 Remember that as you add instances, resources available to each
 individual cluster drops.

 Now, rather than having stage and live on one machine, wouldn't it make
 more sense to have two machines?

 * One for the live.
 * Second one for stage, with maybe an additional instance clustered
   with live for failover?

 Then you get all the _real_ benefits of having a cluster.

 Although, I still cringe at the thought of stage and live code running
 on the same box.

 Taco Fleur wrote:
  I am hoping to get some input on the following.
 
  I have one instance of CF running and one is dormant (STAGING) to
  upload new code to and test it out before moving to LIVE.
  We are starting out with one machine for CF and will tag on more as
  the need arises, my question is, would there be any benefit of putting
  a cluster on one machine? The only benefit I could see if the fact
  that if one crashes the other one on the same machine takes over. But
  its highly likely that the problem on the first instance will
  replicate to the second instance in the cluster.. So I'm not sure
  anymore... I'm hoping someone can give me a reason to do it, so I can
  finally setup my first cluster (yeah)...
 
  --
  http://www.clickfind.com.au
  The new Australian search engine for businesses, products and services
 
  


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Virtual Server Hosting

2007-06-04 Thread Duncan

Dale,

We use rackspace.com and they are fantastic. not cheap so that would
affect your decision, but they are great.

HTH

Duncan

On 5/31/07, Dale Fraser [EMAIL PROTECTED] wrote:




 Hello,



 We currently run our own servers in a data centre and we are due this year
 to upgrade a lot of things, such as the servers and ColdFusion 8.



 So I want to evaluate hosting this else where to weigh up the cost pro's
 cons.



 It would need to be



 1.  In the US or AU

 2.  Have good uptime and SLA

 3.  Have good bandwidth

 4.  Have well speced machines.

 5.  Have no restrictions on installing / rebooting server

 6.  Have multiple days worth of backups, ie 7+ day backups

 7.  Run Coldfusion Enterprise (Version 8 when released)

 8.  Run SQL Server 2005



 I've found some and looking more, but figure people here would have
 experience.



 Regards

 Dale Fraser



 http://dalefraser.blogspot.com


  



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CFAussie Community Head Count

2007-06-01 Thread Duncan

I ping alot so mixing it up here with a donk from Dunc. Surry Hills Sydney.

The http://groups.google.com/group/cfaussie page reports a nice round
400 members to cfaussie.

Thanks for the interest Matt - its nice to know we are being watched!

On 6/1/07, paulineb [EMAIL PROTECTED] wrote:

 ping


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Release Candidate? Where's the Public Beta?

2007-05-30 Thread Duncan

It certainly is out in public beta -

http://digg.com/programming/Adobe_releases_public_release_candidate_of_ColdFusion_8_AKA_Scorpio

On 5/30/07, Chris Velevitch [EMAIL PROTECTED] wrote:

 Unless something changed since you last looked, going to Labs and
 downloading the public beta is working for me.


 Chris
 --
 Chris Velevitch
 Manager - Sydney Flash Platform Developers Group
 m: 0415 469 095
 www.flashdev.org.au

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Money for nothing and Joost for Free!

2007-05-29 Thread Duncan

I have some too if anyone would like one, find the Joost post at
www.sixfive.co.uk to get one.

Personally I am on iinet - and I cannot complain, some mornings I look
at uTorrent and its got a spike up to like 400 for downloads.



On 5/23/07, Dale Fraser [EMAIL PROTECTED] wrote:




 Yes at home Netspace, at work Internode.



 Work is close to exchange, can download 2mb per second, it's amazing. And we
 have 2 links, so can actually get 4mb per second.




 Regards

 Dale Fraser



 http://dalefraser.blogspot.com





 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Andrew Scott
  Sent: Wednesday, 23 May 2007 3:26 PM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] Re: Money for nothing and Joost for Free!



 Me very jealous, my exchange keeps getting pushed back on the ADSL2 side. It
 was supposed to be switched on June last year and I am patiently waiting for
 Q3 nowL



 Hey you still with netspace ?






  Andrew Scott
  Senior Coldfusion Developer
  Aegeon Pty. Ltd.
  www.aegeon.com.au
  Phone: +613  8676 4223
  Mobile: 0404 998 273







 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Dale Fraser
  Sent: Wednesday, 23 May 2007 3:23 PM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] Re: Money for nothing and Joost for Free!



 I have ADSL2 at home and work and it's the best J




 Regards

 Dale Fraser



 http://dalefraser.blogspot.com







  



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: how to alter senders buddy when sending IM via XMPP gateway

2007-05-28 Thread Duncan

So a work around would be to simply put the username in as the first
part of the message I suppose.

I am also thinking about how to allow a staff member to keep more than
one session going - currently the chat sessions are held in the app
scope, and routed back that way, but that allows only one chat session
per staff member - which isnt very productive.

Any suggestions here?

Duncan

On 5/28/07, Lucas [EMAIL PROTECTED] wrote:
 Hi Duncan,
 last time I looked this was near on impossible with the inbuilt gateway as
 it pretends to be a user - I have gotten around this in the past by using a
 Java XMPP implementation and using that to talk to the IM server.

 I know, this is not what you wanted to hear but it does work :)

 cheers,
 Lucas.


 On 5/28/07, Duncan  [EMAIL PROTECTED] wrote:
 
  All,
 
  Is there a way to send an IM from a cf page via the cf event gateway
  with a buddy id of something other than the cf gateway buddy id?
 
  For example I want our registered and logged in users to be able to IM
  the sales team online.
 
  Currently this works ok, but the sales person always sees a buddy of
  ColdFusion. The first message tells them who it was, but then after a
  few messages its not clear any more.
 
  So instead of the message buddyid saying coldfusion, can I get it to
  say the logged in users name?  This doesn't appear to be possible with
  sendGatewayMessage() but must be possible some other way as imified
  and so forth do this.
 
  Thanks!
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]
 
 
 
   
 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: how to alter senders buddy when sending IM via XMPP gateway

2007-05-28 Thread Duncan

Have you used Smack
http://www.igniterealtime.org/projects/smack/index.jsp ? or do you
have another recommendation for a library?

On 5/28/07, Lucas [EMAIL PROTECTED] wrote:
 Hi Duncan,
 last time I looked this was near on impossible with the inbuilt gateway as
 it pretends to be a user - I have gotten around this in the past by using a
 Java XMPP implementation and using that to talk to the IM server.

 I know, this is not what you wanted to hear but it does work :)

 cheers,
 Lucas.


 On 5/28/07, Duncan  [EMAIL PROTECTED] wrote:
 
  All,
 
  Is there a way to send an IM from a cf page via the cf event gateway
  with a buddy id of something other than the cf gateway buddy id?
 
  For example I want our registered and logged in users to be able to IM
  the sales team online.
 
  Currently this works ok, but the sales person always sees a buddy of
  ColdFusion. The first message tells them who it was, but then after a
  few messages its not clear any more.
 
  So instead of the message buddyid saying coldfusion, can I get it to
  say the logged in users name?  This doesn't appear to be possible with
  sendGatewayMessage() but must be possible some other way as imified
  and so forth do this.
 
  Thanks!
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]
 
 
 
   
 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: how to alter senders buddy when sending IM via XMPP gateway

2007-05-28 Thread Duncan

Nice one David - i am doing this for some not-so-savvy users (read
sales  marketing) so this may be too easy to give a client the wrong
answer or get confused. I dont think its fool proof enough. Tommorrow
I will look at Smack.

On 5/28/07, dsirr [EMAIL PROTECTED] wrote:

 Hi Duncan

 In regard to the multiple sessions bizzo, have a max sessions per
 user(your company user) then associate new IM sessions up to that max
 limit to your user in the app scope in an array or something and send
 the session name to your users client with an identifier so your user
 will see,

 cfbot says: Duncan(1) - i can't use this simple web form or cfbot
 says: David(2) - the images aren't showing

 then your user can target reply to any of the sessions with a prefix,
 i.e.

 1: RTFM, it's really easy or 2: blah etc,

 then maybe have commands to release these sessions like closeIM: 1
 etc

 just some quick thoughts anyway

 cheers
 David
 labs.redbd.net

 On May 28, 4:45 pm, Duncan [EMAIL PROTECTED] wrote:
  Have you used Smackhttp://www.igniterealtime.org/projects/smack/index.jsp? 
  or do you
  have another recommendation for a library?
 
  On 5/28/07, Lucas [EMAIL PROTECTED] wrote:
 
 
 
   Hi Duncan,
   last time I looked this was near on impossible with the inbuilt gateway as
   it pretends to be a user - I have gotten around this in the past by using 
   a
   Java XMPP implementation and using that to talk to the IM server.
 
   I know, this is not what you wanted to hear but it does work :)
 
   cheers,
   Lucas.
 
   On 5/28/07, Duncan  [EMAIL PROTECTED] wrote:
 
All,
 
Is there a way to send an IM from a cf page via the cf event gateway
with a buddy id of something other than the cf gateway buddy id?
 
For example I want our registered and logged in users to be able to IM
the sales team online.
 
Currently this works ok, but the sales person always sees a buddy of
ColdFusion. The first message tells them who it was, but then after a
few messages its not clear any more.
 
So instead of the message buddyid saying coldfusion, can I get it to
say the logged in users name?  This doesn't appear to be possible with
sendGatewayMessage() but must be possible some other way as imified
and so forth do this.
 
Thanks!
 
--
Duncan I Loxton
[EMAIL PROTECTED]
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] how to alter senders buddy when sending IM via XMPP gateway

2007-05-27 Thread Duncan

All,

Is there a way to send an IM from a cf page via the cf event gateway
with a buddy id of something other than the cf gateway buddy id?

For example I want our registered and logged in users to be able to IM
the sales team online.

Currently this works ok, but the sales person always sees a buddy of
ColdFusion. The first message tells them who it was, but then after a
few messages its not clear any more.

So instead of the message buddyid saying coldfusion, can I get it to
say the logged in users name?  This doesn't appear to be possible with
sendGatewayMessage() but must be possible some other way as imified
and so forth do this.

Thanks!

--
Duncan I Loxton
[EMAIL PROTECTED]


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Aptana - updating eclipse to 3.2

2007-05-01 Thread Duncan

They are currently working on the release of 3.2, I am using the
prerelease - I can send you a zip if you like off list?

You can certainly have Eclipse 3.2 and put in the plugin, but I
personally prefer the installed version of Aptana.



On 5/2/07, AJ Mercer [EMAIL PROTECTED] wrote:
 Hi,

 Is any one using Aptana?
 Do you know how to update eclipse to 3.2 (currently it is 3.1)

 It looks line if you have eclipse 3.2 you can install the Aptana plugin so
 it is supported.
 Just not sure about how to do it the other way.

 Or should I just use Eclipse with the Aptana plugin instead?



  



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: TinyMCE HTML Editor

2007-04-15 Thread Duncan

Steve,

Try cffm http://www.webworksllc.com/cffm/ we use it in our TinyMCE
instances for image and attachment uploading.

Duncan

On 4/13/07, Steve Onnis [EMAIL PROTECTED] wrote:

 Grant

 Do you guys have a FileManager plugin for TinyMCE I could use?

 Steve

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Grant Straker
 Sent: Friday, 13 April 2007 5:40 AM
 To: cfaussie
 Subject: [cfaussie] Re: TinyMCE HTML Editor


 We use it extensively and having trailed and tested a lot of different
 WYSIWYG editors find it the best one out there.

 We have many 1000's of end users (as in contributors/editors) using our CMS
 and find that with TinyMCE the number of support / end user issues decreases
 significantly. One of the big factors in this is that the table support in
 Tiny is excellent.

 You can also write your own plugins and easily extend it.


 Grant

 On Apr 12, 8:21 pm, Justin Carter [EMAIL PROTECTED] wrote:
  On Apr 12, 4:27 pm, Steve Onnis [EMAIL PROTECTED] wrote:
 
   Anyone using this editor for their applications?
 
  I'm only using it with FarCry, I haven't used it with a custom built
  app before. And regarding your other thread, I don't have a file
  upload plugin for TinyMCE as FarCry has it's own file upload tools.
  Can't help much, sorry :P
 
  --
  Justinhttp://www.madfellas.com/blog





 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Java Output streams into CF vars

2007-03-28 Thread Duncan

Not being able to push this data into a CF var is now becoming a real
problem - I cant do anything to the output. For example I need to
replace  and  with lt; and gt;

Here is an example:

cfset sb = 
CreateObject(component,org.osborne.svn.svnbrowser).init(application.SVN
 /  client.safe,application.svnusr,application.svnpwd)
cfset f=sb.FileVersion(url.p,r)
cfset pageOut = getPageContext().getResponse().getOutputStream()
#ReplacenoCase(ReplacenoCase(pageOut.write(f.Content[1], 0,
len(f.Content[1])),,lt;,ALL),,gt;)#

This returns the content of a file at a revision number in an SVN
repository as a Java bytestream.

the problem here is that the Replacenocase doesnt do anything. the end
result in the source is still  and  NOT lt; and gt;

If anyone can help me out here it would be HUGE!

Thanks

Duncan

On 3/8/07, Duncan [EMAIL PROTECTED] wrote:
 @charlie - found this on Andrews site:
 http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept

 Now I have this:

 sb is:
 cfset sb = 
 CreateObject(component,org.osborne.svn.svnbrowser).init(application.SVN
  /  client.safe,application.svnusr,application.svnpwd) i.e. the
 object containing the c current repository  methods available.

 cfinclude template=header.cfm
 cfset f=sb.FileVersion(url.p,r)

 cfif f.RecordCount GT 0
 cfset pageOut = getPageContext().getResponse().getOutputStream()
 cfset out = pageOut.write(f.Content[1], 0, len(f.Content[1]))
 cfelse
 No such file or revision
 /cfif
 cfinclude template=footer.cfm

 Interestingly I can now wrap things around this (like a textarea). So
 this is a great improvement over what I had before that reset the
 stream and cleared everything else from the screen.


 On 3/7/07, Andrew Scott [EMAIL PROTECTED] wrote:
 
  Can you send me the code in question offlist I'll have a look at later
  tonight if you like, I am not a java guru but know enough to get by most of
  that POC was help from Mark Mandel and another person who's name escapes me
  at the moment.
 
  But what I do understand is that the pageOut.Write in your code is suppose
  to turn it into a string or char output, and I guess looking at how it fits
  in your scenario might help me a bit more.
 
  Sorry couldn't be any more helpful there.
 
 
  Andrew Scott
  Senior Coldfusion Developer
  Aegeon Pty. Ltd.
  www.aegeon.com.au
  Phone:+613 8676 4223
  Mobile: 0404 998 273
 
 
 
  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
  Of Duncan
  Sent: Wednesday, 7 March 2007 3:56 PM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] Re: Java Output streams into CF vars
 
 
  Thanks Andrew, I can see what this does, but I dont understand it all
  enough (and the differences between your code and mine) to mash it
  into what I need.
 
  So I have managed to get to this point:
 
  pageOut = getPageContext().getResponse().getOutputStream();
  out = pageOut.write(f.Content[1], 0, len(f.Content[1]));
 
  however this prints the content of the field at the point where this
  line lives in the page. It doesnt assign it to the variable out.
 
  At least now its not resetting the output and its carrying through to
  include the header and footer.
 
  How is it that this is not putting the stream into the out variable?
 
 
 
   
 


 --
 Duncan I Loxton
 [EMAIL PROTECTED]



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Java Output streams into CF vars

2007-03-28 Thread Duncan

@Andrew - this doesnt work, just tried it and it outputs to the
browser where the pageOut.write is. It does not put it into the
variable. test is created and set, but has a length of 0 and no value.

@Dale - would love to convert it out of Java ByteArray but I dont know
how to - any hints or pointers gratefully received.

@Haikal - Good idea, however CF cant perform this on a bytearray, the
error is  ByteArray objects cannot be converted to strings.

On 3/29/07, Haikal Saadh [EMAIL PROTECTED] wrote:

 Shouldn't you have

 pageOut.write(replaceNoCase())

 instead of
 replaceNoCase(pageOut.write() )



 Duncan wrote:
  Not being able to push this data into a CF var is now becoming a real
  problem - I cant do anything to the output. For example I need to
  replace  and  with lt; and gt;
 
  Here is an example:
 
  cfset sb = 
  CreateObject(component,org.osborne.svn.svnbrowser).init(application.SVN
   /  client.safe,application.svnusr,application.svnpwd)
  cfset f=sb.FileVersion(url.p,r)
  cfset pageOut = getPageContext().getResponse().getOutputStream()
  #ReplacenoCase(ReplacenoCase(pageOut.write(f.Content[1], 0,
  len(f.Content[1])),,lt;,ALL),,gt;)#
 
  This returns the content of a file at a revision number in an SVN
  repository as a Java bytestream.
 
  the problem here is that the Replacenocase doesnt do anything. the end
  result in the source is still  and  NOT lt; and gt;
 
  If anyone can help me out here it would be HUGE!
 
  Thanks
 
  Duncan
 
  On 3/8/07, Duncan [EMAIL PROTECTED] wrote:
 
  @charlie - found this on Andrews site:
  http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept
 
  Now I have this:
 
  sb is:
  cfset sb = 
  CreateObject(component,org.osborne.svn.svnbrowser).init(application.SVN
   /  client.safe,application.svnusr,application.svnpwd) i.e. the
  object containing the c current repository  methods available.
 
  cfinclude template=header.cfm
  cfset f=sb.FileVersion(url.p,r)
 
  cfif f.RecordCount GT 0
  cfset pageOut = getPageContext().getResponse().getOutputStream()
  cfset out = pageOut.write(f.Content[1], 0, len(f.Content[1]))
  cfelse
  No such file or revision
  /cfif
  cfinclude template=footer.cfm
 
  Interestingly I can now wrap things around this (like a textarea). So
  this is a great improvement over what I had before that reset the
  stream and cleared everything else from the screen.
 
 
  On 3/7/07, Andrew Scott [EMAIL PROTECTED] wrote:
 
  Can you send me the code in question offlist I'll have a look at later
  tonight if you like, I am not a java guru but know enough to get by most 
  of
  that POC was help from Mark Mandel and another person who's name escapes 
  me
  at the moment.
 
  But what I do understand is that the pageOut.Write in your code is suppose
  to turn it into a string or char output, and I guess looking at how it 
  fits
  in your scenario might help me a bit more.
 
  Sorry couldn't be any more helpful there.
 
 
  Andrew Scott
  Senior Coldfusion Developer
  Aegeon Pty. Ltd.
  www.aegeon.com.au
  Phone:+613 8676 4223
  Mobile: 0404 998 273
 
 
 
  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
  Of Duncan
  Sent: Wednesday, 7 March 2007 3:56 PM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] Re: Java Output streams into CF vars
 
 
  Thanks Andrew, I can see what this does, but I dont understand it all
  enough (and the differences between your code and mine) to mash it
  into what I need.
 
  So I have managed to get to this point:
 
  pageOut = getPageContext().getResponse().getOutputStream();
  out = pageOut.write(f.Content[1], 0, len(f.Content[1]));
 
  however this prints the content of the field at the point where this
  line lives in the page. It doesnt assign it to the variable out.
 
  At least now its not resetting the output and its carrying through to
  include the header and footer.
 
  How is it that this is not putting the stream into the out variable?
 
 
 
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]
 
 
 
 
 


 --
 Haikal Saadh
 Applications Programmer
 ICT Resources, TALSS
 QUT Kelvin Grove


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Java Output streams into CF vars

2007-03-28 Thread Duncan

I have just worked it out - you can do this in Java -

cfset stringy = createObject(java,java.lang.String).init(f.Content[1])
cfset stringy =
ReplacenoCase(ReplacenoCase(Stringy,,lt;,ALL),,gt;)

cfoutput#stringy/cfoutput

Job done - thats how to get it into a CF Variable.

On 3/29/07, Duncan [EMAIL PROTECTED] wrote:
 @Andrew - this doesnt work, just tried it and it outputs to the
 browser where the pageOut.write is. It does not put it into the
 variable. test is created and set, but has a length of 0 and no value.

 @Dale - would love to convert it out of Java ByteArray but I dont know
 how to - any hints or pointers gratefully received.

 @Haikal - Good idea, however CF cant perform this on a bytearray, the
 error is  ByteArray objects cannot be converted to strings.

 On 3/29/07, Haikal Saadh [EMAIL PROTECTED] wrote:
 
  Shouldn't you have
 
  pageOut.write(replaceNoCase())
 
  instead of
  replaceNoCase(pageOut.write() )
 
 
 
  Duncan wrote:
   Not being able to push this data into a CF var is now becoming a real
   problem - I cant do anything to the output. For example I need to
   replace  and  with lt; and gt;
  
   Here is an example:
  
   cfset sb = 
   CreateObject(component,org.osborne.svn.svnbrowser).init(application.SVN
/  client.safe,application.svnusr,application.svnpwd)
   cfset f=sb.FileVersion(url.p,r)
   cfset pageOut = getPageContext().getResponse().getOutputStream()
   #ReplacenoCase(ReplacenoCase(pageOut.write(f.Content[1], 0,
   len(f.Content[1])),,lt;,ALL),,gt;)#
  
   This returns the content of a file at a revision number in an SVN
   repository as a Java bytestream.
  
   the problem here is that the Replacenocase doesnt do anything. the end
   result in the source is still  and  NOT lt; and gt;
  
   If anyone can help me out here it would be HUGE!
  
   Thanks
  
   Duncan
  
   On 3/8/07, Duncan [EMAIL PROTECTED] wrote:
  
   @charlie - found this on Andrews site:
   http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept
  
   Now I have this:
  
   sb is:
   cfset sb = 
   CreateObject(component,org.osborne.svn.svnbrowser).init(application.SVN
/  client.safe,application.svnusr,application.svnpwd) i.e. the
   object containing the c current repository  methods available.
  
   cfinclude template=header.cfm
   cfset f=sb.FileVersion(url.p,r)
  
   cfif f.RecordCount GT 0
   cfset pageOut = getPageContext().getResponse().getOutputStream()
   cfset out = pageOut.write(f.Content[1], 0, len(f.Content[1]))
   cfelse
   No such file or revision
   /cfif
   cfinclude template=footer.cfm
  
   Interestingly I can now wrap things around this (like a textarea). So
   this is a great improvement over what I had before that reset the
   stream and cleared everything else from the screen.
  
  
   On 3/7/07, Andrew Scott [EMAIL PROTECTED] wrote:
  
   Can you send me the code in question offlist I'll have a look at later
   tonight if you like, I am not a java guru but know enough to get by 
   most of
   that POC was help from Mark Mandel and another person who's name 
   escapes me
   at the moment.
  
   But what I do understand is that the pageOut.Write in your code is 
   suppose
   to turn it into a string or char output, and I guess looking at how it 
   fits
   in your scenario might help me a bit more.
  
   Sorry couldn't be any more helpful there.
  
  
   Andrew Scott
   Senior Coldfusion Developer
   Aegeon Pty. Ltd.
   www.aegeon.com.au
   Phone:+613 8676 4223
   Mobile: 0404 998 273
  
  
  
   -Original Message-
   From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
   Of Duncan
   Sent: Wednesday, 7 March 2007 3:56 PM
   To: cfaussie@googlegroups.com
   Subject: [cfaussie] Re: Java Output streams into CF vars
  
  
   Thanks Andrew, I can see what this does, but I dont understand it all
   enough (and the differences between your code and mine) to mash it
   into what I need.
  
   So I have managed to get to this point:
  
   pageOut = getPageContext().getResponse().getOutputStream();
   out = pageOut.write(f.Content[1], 0, len(f.Content[1]));
  
   however this prints the content of the field at the point where this
   line lives in the page. It doesnt assign it to the variable out.
  
   At least now its not resetting the output and its carrying through to
   include the header and footer.
  
   How is it that this is not putting the stream into the out variable?
  
  
  
  
   --
   Duncan I Loxton
   [EMAIL PROTECTED]
  
  
  
  
  
 
 
  --
  Haikal Saadh
  Applications Programmer
  ICT Resources, TALSS
  QUT Kelvin Grove
 
 
   
 


 --
 Duncan I Loxton
 [EMAIL PROTECTED]



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit

[cfaussie] Re: Java Output streams into CF vars

2007-03-28 Thread Duncan

Haikal - Bingo! I got it just the same time there. I am using www.svnkit.com



On 3/29/07, Duncan [EMAIL PROTECTED] wrote:
 I have just worked it out - you can do this in Java -

 cfset stringy = createObject(java,java.lang.String).init(f.Content[1])
 cfset stringy =
 ReplacenoCase(ReplacenoCase(Stringy,,lt;,ALL),,gt;)

 cfoutput#stringy/cfoutput

 Job done - thats how to get it into a CF Variable.

 On 3/29/07, Duncan [EMAIL PROTECTED] wrote:
  @Andrew - this doesnt work, just tried it and it outputs to the
  browser where the pageOut.write is. It does not put it into the
  variable. test is created and set, but has a length of 0 and no value.
 
  @Dale - would love to convert it out of Java ByteArray but I dont know
  how to - any hints or pointers gratefully received.
 
  @Haikal - Good idea, however CF cant perform this on a bytearray, the
  error is  ByteArray objects cannot be converted to strings.
 
  On 3/29/07, Haikal Saadh [EMAIL PROTECTED] wrote:
  
   Shouldn't you have
  
   pageOut.write(replaceNoCase())
  
   instead of
   replaceNoCase(pageOut.write() )
  
  
  
   Duncan wrote:
Not being able to push this data into a CF var is now becoming a real
problem - I cant do anything to the output. For example I need to
replace  and  with lt; and gt;
   
Here is an example:
   
cfset sb = 
CreateObject(component,org.osborne.svn.svnbrowser).init(application.SVN
 /  client.safe,application.svnusr,application.svnpwd)
cfset f=sb.FileVersion(url.p,r)
cfset pageOut = getPageContext().getResponse().getOutputStream()
#ReplacenoCase(ReplacenoCase(pageOut.write(f.Content[1], 0,
len(f.Content[1])),,lt;,ALL),,gt;)#
   
This returns the content of a file at a revision number in an SVN
repository as a Java bytestream.
   
the problem here is that the Replacenocase doesnt do anything. the end
result in the source is still  and  NOT lt; and gt;
   
If anyone can help me out here it would be HUGE!
   
Thanks
   
Duncan
   
On 3/8/07, Duncan [EMAIL PROTECTED] wrote:
   
@charlie - found this on Andrews site:
http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept
   
Now I have this:
   
sb is:
cfset sb = 
CreateObject(component,org.osborne.svn.svnbrowser).init(application.SVN
 /  client.safe,application.svnusr,application.svnpwd) i.e. the
object containing the c current repository  methods available.
   
cfinclude template=header.cfm
cfset f=sb.FileVersion(url.p,r)
   
cfif f.RecordCount GT 0
cfset pageOut = getPageContext().getResponse().getOutputStream()
cfset out = pageOut.write(f.Content[1], 0, len(f.Content[1]))
cfelse
No such file or revision
/cfif
cfinclude template=footer.cfm
   
Interestingly I can now wrap things around this (like a textarea). So
this is a great improvement over what I had before that reset the
stream and cleared everything else from the screen.
   
   
On 3/7/07, Andrew Scott [EMAIL PROTECTED] wrote:
   
Can you send me the code in question offlist I'll have a look at later
tonight if you like, I am not a java guru but know enough to get by 
most of
that POC was help from Mark Mandel and another person who's name 
escapes me
at the moment.
   
But what I do understand is that the pageOut.Write in your code is 
suppose
to turn it into a string or char output, and I guess looking at how 
it fits
in your scenario might help me a bit more.
   
Sorry couldn't be any more helpful there.
   
   
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone:+613 8676 4223
Mobile: 0404 998 273
   
   
   
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Duncan
Sent: Wednesday, 7 March 2007 3:56 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Java Output streams into CF vars
   
   
Thanks Andrew, I can see what this does, but I dont understand it all
enough (and the differences between your code and mine) to mash it
into what I need.
   
So I have managed to get to this point:
   
pageOut = getPageContext().getResponse().getOutputStream();
out = pageOut.write(f.Content[1], 0, len(f.Content[1]));
   
however this prints the content of the field at the point where this
line lives in the page. It doesnt assign it to the variable out.
   
At least now its not resetting the output and its carrying through to
include the header and footer.
   
How is it that this is not putting the stream into the out variable?
   
   
   
   
--
Duncan I Loxton
[EMAIL PROTECTED]
   
   
   
   
   
  
  
   --
   Haikal Saadh
   Applications Programmer
   ICT Resources, TALSS
   QUT Kelvin Grove
  
  
 
  
 
 
  --
  Duncan I Loxton
  [EMAIL PROTECTED]
 


 --
 Duncan I Loxton
 [EMAIL PROTECTED

[cfaussie] Re: SOT: Local domain names

2007-03-20 Thread Duncan

 This has to do with coldfusion how?

Point made!
McE - this now belongs on the cfwatercooler list:
http://groups.google.com/group/cfwatercooler

On 3/20/07, Rod Higgins [EMAIL PROTECTED] wrote:

 This has to do with coldfusion how?

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of mrEscher
 Sent: Tuesday, 20 March 2007 1:50 PM
 To: cfaussie
 Subject: [cfaussie] Re: SOT: Local domain names



 Heh,

 I'm back on cfaussie after a couple of years hiatus - last I read it was
 back it was on the demon server - came back to search for some flex advice.

 Andrew, you gotta read what you've been sent - I don't think that Tom was
 originally replying to you at all, nor did you clarify when he asked before
 flaming him.  On the other hand, your Im SMRTer than yoo random
 acronym-laden rant based on terms or homonyms you haven't understood is the
 funniest thing I've read since I left - I missed that! Keep it up. WYSIWYG!

 While we're (VASTLY) off topic, Scott Barnes is working for Microsoft now!
 wow, kudos dude.

 - McE




 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] SOT: Local domain names

2007-03-15 Thread Duncan

Scenario:

Web dev shop, lots of clients, lots of domains, using an internal dev
box, using SBS server 2003

Problem:

current DNS is set up for clientname.local and points to the site on
the central dev box

we are introducing SVN and individual environments on the developers
local machines.

Ideally I would like to be able to use local.client.com for the local
developer machine, dev.client.com for the dev box etc.

Clearly we don't have control over the clients DNS so we cant create
these on their domain (and I wouldn't want to as 2 of them would be
useless to external folks).

So I want to create a couple of entries for an external domain name,
that are available only to our network and have the external entries
still work without us having to maintain a second copy of them (this
appears to be the only solution in SBS DNS).

Can we do this? How do y'all cope with this? Do I need to look at a
different naming schema?

-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: SOT: Local domain names

2007-03-15 Thread Duncan

Yeah - makes sense.

The local machines arent a problem as we can add them to the hosts
file on the local machine, its the dev box ones that are the issue.  I
had a feeling that this wouldnt be possible.

On 3/16/07, Haikal Saadh [EMAIL PROTECTED] wrote:

 Like you say, you don't really have control over your client's domain
 names, so you'd need something rooted at the local level...

 So if I was you, I'd set it up thus:

 *.localdev.tunaranch.net : 127.0.0.1. That way, all subdomains of
 localdev. will go to localhost. This would need virtual hosts to be set
 correctly, of course.

 And then, you can set, say,

 foo-inc.clients.tunaranch.net : IP for dev box for Foo. Inc .
 bar-co.clients.tunaranch.net : IP for dev box for Bar Co. .

 Makes sense?



 Duncan wrote:
  Scenario:
 
  Web dev shop, lots of clients, lots of domains, using an internal dev
  box, using SBS server 2003
 
  Problem:
 
  current DNS is set up for clientname.local and points to the site on
  the central dev box
 
  we are introducing SVN and individual environments on the developers
  local machines.
 
  Ideally I would like to be able to use local.client.com for the local
  developer machine, dev.client.com for the dev box etc.
 
  Clearly we don't have control over the clients DNS so we cant create
  these on their domain (and I wouldn't want to as 2 of them would be
  useless to external folks).
 
  So I want to create a couple of entries for an external domain name,
  that are available only to our network and have the external entries
  still work without us having to maintain a second copy of them (this
  appears to be the only solution in SBS DNS).
 
  Can we do this? How do y'all cope with this? Do I need to look at a
  different naming schema?
 
 

 --
 Haikal Saadh
 Applications Programmer
 ICT Resources, TALSS
 QUT Kelvin Grove


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Java Output streams into CF vars

2007-03-07 Thread Duncan

@charlie - found this on Andrews site:
http://www.andyscott.id.au/index.cfm/2006/9/12/Proof-of-Concept

Now I have this:

sb is:
cfset sb = 
CreateObject(component,org.osborne.svn.svnbrowser).init(application.SVN
 /  client.safe,application.svnusr,application.svnpwd) i.e. the
object containing the c current repository  methods available.

cfinclude template=header.cfm
cfset f=sb.FileVersion(url.p,r)

cfif f.RecordCount GT 0
cfset pageOut = getPageContext().getResponse().getOutputStream()
cfset out = pageOut.write(f.Content[1], 0, len(f.Content[1]))
cfelse
No such file or revision
/cfif
cfinclude template=footer.cfm

Interestingly I can now wrap things around this (like a textarea). So
this is a great improvement over what I had before that reset the
stream and cleared everything else from the screen.


On 3/7/07, Andrew Scott [EMAIL PROTECTED] wrote:

 Can you send me the code in question offlist I'll have a look at later
 tonight if you like, I am not a java guru but know enough to get by most of
 that POC was help from Mark Mandel and another person who's name escapes me
 at the moment.

 But what I do understand is that the pageOut.Write in your code is suppose
 to turn it into a string or char output, and I guess looking at how it fits
 in your scenario might help me a bit more.

 Sorry couldn't be any more helpful there.


 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.
 www.aegeon.com.au
 Phone:+613 8676 4223
 Mobile: 0404 998 273



 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Duncan
 Sent: Wednesday, 7 March 2007 3:56 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Java Output streams into CF vars


 Thanks Andrew, I can see what this does, but I dont understand it all
 enough (and the differences between your code and mine) to mash it
 into what I need.

 So I have managed to get to this point:

 pageOut = getPageContext().getResponse().getOutputStream();
 out = pageOut.write(f.Content[1], 0, len(f.Content[1]));

 however this prints the content of the field at the point where this
 line lives in the page. It doesnt assign it to the variable out.

 At least now its not resetting the output and its carrying through to
 include the header and footer.

 How is it that this is not putting the stream into the out variable?



 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Java Output streams into CF vars

2007-03-06 Thread Duncan

I am working with cfdiff, and specifcally the svnbrowser element.

When viewing a specific revision of a file the code pushes the file
contents directly from a Java out put stream into the browser.

http://cfdiff.googlecode.com/svn/trunk/svn.cfm check out lines 101 - 121.

I have tried with no degree of luck to get the output into a cf
variable. My end goal here is to be able to put it in a text area and
have code colouring on it (see riaforge for an example
http://ajaxcfc.riaforge.org/index.cfm?event=page.svnviewpath=%2Ftrunk%2Fcorefile=ajax%2Ecfc
), this would then leave the user the choice to download the file
(currently this is what happens) or view it and have other options.

The best I have so far is a cfdump of the structure - it contains the following:
Author: duncan
Content: binary:
10432103106104106321031043210610413101310100102103100102103515050501310131010010210310010210351515113101310100102103100102103525252131013101001021033910810710010210310610732100102103
date : {ts '2007-03-02 05:10:44'},
kind: file,
message: NULL,
path: / trunk/scribble.cfm,
revision: 5,
size: 71,
url: /trunk/scribble.cfm

FYI the content of scribble.cfm is:

[code]
h gjhj gh jh

dfgdfg3222

dfgdfg333

dfgdfg444

dfg'lkdfgjk dfg
[/code]

Now I have tried binaryDecode() and binaryEncode() but this seems to
not do the trick, its a completely different form of binary!

Can anyone point me in the direction of getting this binary java stuff
into a CF var after being converted?

-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Java Output streams into CF vars

2007-03-06 Thread Duncan

Thanks Andrew, I can see what this does, but I dont understand it all
enough (and the differences between your code and mine) to mash it
into what I need.

So I have managed to get to this point:

pageOut = getPageContext().getResponse().getOutputStream();
out = pageOut.write(f.Content[1], 0, len(f.Content[1]));

however this prints the content of the field at the point where this
line lives in the page. It doesnt assign it to the variable out.

At least now its not resetting the output and its carrying through to
include the header and footer.

How is it that this is not putting the stream into the out variable?


On 3/7/07, Andrew Scott [EMAIL PROTECTED] wrote:

 Duncan,

 Visit www.andyscott.id.au an have a look at my proof of concept, it does
 what you're asking for with the variable.



 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.
 www.aegeon.com.au
 Phone:+613 8676 4223
 Mobile: 0404 998 273



 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Duncan
 Sent: Wednesday, 7 March 2007 12:07 PM
 To: cfaussie
 Subject: [cfaussie] Java Output streams into CF vars


 I am working with cfdiff, and specifcally the svnbrowser element.

 When viewing a specific revision of a file the code pushes the file
 contents directly from a Java out put stream into the browser.

 http://cfdiff.googlecode.com/svn/trunk/svn.cfm check out lines 101 - 121.

 I have tried with no degree of luck to get the output into a cf
 variable. My end goal here is to be able to put it in a text area and
 have code colouring on it (see riaforge for an example
 http://ajaxcfc.riaforge.org/index.cfm?event=page.svnviewpath=%2Ftrunk%2Fcor
 efile=ajax%2Ecfc
 ), this would then leave the user the choice to download the file
 (currently this is what happens) or view it and have other options.

 The best I have so far is a cfdump of the structure - it contains the
 following:
 Author: duncan
 Content: binary:
 1043210310610410632103104321061041310131010010210310010210351505050131013101
 0010210310010210351515113101310100102103100102103525252131013101001021033910
 810710010210310610732100102103
 date : {ts '2007-03-02 05:10:44'},
 kind: file,
 message: NULL,
 path: / trunk/scribble.cfm,
 revision: 5,
 size: 71,
 url: /trunk/scribble.cfm

 FYI the content of scribble.cfm is:

 [code]
 h gjhj gh jh

 dfgdfg3222

 dfgdfg333

 dfgdfg444

 dfg'lkdfgjk dfg
 [/code]

 Now I have tried binaryDecode() and binaryEncode() but this seems to
 not do the trick, its a completely different form of binary!

 Can anyone point me in the direction of getting this binary java stuff
 into a CF var after being converted?

 --
 Duncan I Loxton
 [EMAIL PROTECTED]



 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Why select * is bad (was RE: [cfaussie] Re: @#$!! Queryparam)

2007-03-05 Thread Duncan

Charlie,

No pushing of buttons going on, I was asking like a lemming because I
was wondering if there were other reasons that I did not know about. I
am aware of the larger amounts of data where unneccessary, but thats
about it.

Sometimes I find asking this way on a list questions like these
illicit better responses to learn from. No offense intended.

Your comments here are helpful, Thankyou

Duncan

On 3/3/07, Charlie Arehart [EMAIL PROTECTED] wrote:

 So, are you saying that removing the select * does or does not solve the
 problem? I just want to know where this thread is crossing from solving your
 problem to discussing the broader issue of select *.

 I'm actually surprised to hear that you would ask for a spelling out of the
 reasons for why using select * is bad. It's such a universally derided
 practice.  And there's been all that discussion afterward today later on
 subjects like hosting, findnocase. I have to think folks didn't read this,
 as I'd expect to see a number of people come out and explain why it's bad.
 That's the beauty of a list like this: no one person needs to shoulder the
 burden of answering a question.

 But I'll kick it off with saying that people usually use it when it's not
 needed, as a shortcut. The problem is simply that if the number of columns
 retrieved exceeds the number used, then you've asked for a lot of needless
 work to be done: the database had to gather the data, then store it in its
 buffers, then it had to be sent across the network, then it had to be stored
 in CF's memory as a query resultset. The larger the number of excess column
 (and the size of data they hold), the more the pain of the problem, and when
 you multiply that by the number of rows retrieved, and then by the number of
 requests running that query each day...well, as the joke goes, a million
 here, a million there, and soon you're talking about real money.

 And the problem is about more than just you who issued the query. You're
 request asking the database to do work takes away resources that it could
 have spent doing more useful work. And when data fills the DB buffers, that
 flushes data from someone else's query that might have been reused for a
 subsequent request for the same database pages (very low level, but
 important, stuff).

 Now that was just if the number of columns retrieved would be smaller if you
 did just name them instead. If they're the same, then that's certainly
 different, though there can still be issues.

 For instance, depending on the database (and perhaps configuration), the use
 of select * may cause the DBMS to process its query plan differently. That
 really depends, though, and so I don't want to state categorically that it's
 always bad for that reason. I'll leave that to others to hash out (see
 below). Then there's this issue of its impact when used with CFQUERYPARAM,
 and some have even argued that it causes problems when used in CFQUERY with
 views (see the comments in the last thread below), and so on.

 Now, really, there are all manner of other places where people have decried
 it (or debated it, as you want to). I can't tell if you're pressing me,
 Duncan, just to get a rise out of me, or try to make me prove my statement,
 or just out of sincere curiosity. I just want to clarify that I only
 proposed you avoid it to solve your very problem with CFQUERYPARAM. Please
 do let us know if it helped. But if you're still interested in the select *
 debate, there's plenty out there. I don't need to defend it myself. :-)

 What's interesting is that if you try to do a google search, you're
 flummoxed because google uses * as a single word placeholder (no, not a
 multi-word, just a single word, which is curious), so you can't (it seems)
 readily say find all results that say select * us bad. Here are a few
 areas where this has been discussed and/or debated:

 http://www.parseerror.com/sql/select*isevil.html
 http://www.sitepoint.com/forums/showthread.php?t=417457
 http://www.adopenstatic.com/faq/selectstarisbad.asp
 http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,si
 d63_gci978334,00.html
 http://rip747.wordpress.com/2006/07/10/to-select-or-not-its-a-matter-of-opin
 ion/

 That last one above is from a CF perspective, and does discuss the question
 from the perspective of what if I *do* want all the columns. I'll leave it
 to you and others to parse through all the available info to decide best for
 yourself. :-)

 /Charlie
 http://www.carehart.org/blog/

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Duncan
 Sent: Thursday, March 01, 2007 10:21 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: @#$!! queryparam


 Charlie,

 I didnt think that would be affecting it, I am more than aware that its bad
 practice, and as it happens the queries in question do have *, column1,
 column2 etc in them.

 I know that you are pulling more data than necessary with a * therefore

[cfaussie] Re: @#$!! queryparam

2007-03-04 Thread Duncan

We are not caching any templates.

In CFAdmin there are no cached templates, trusted cache or saving of
class files.

We are not using a framework, its as simple as putting a cfquery into
a .cfm page and running it directly in the browser.

It is only on queries with select * in them. On queries that are
specifically tailored to pull only certain columns (i.e. no star *) it
does not happen.

We are running 7,0,1,116466 CFMX 7 Standard edition, using SQL 2000,
and the standard Microsoft SQL Server Driver.

We havent updated CF to 7.0.2 because none of the items in the issues
list for the updater or patches have deemed it to be necessary in our
case.

Now hopefully you can see why I am asking about this - its a simple
simple thing we are doing, but the answer doesnt look to be simple.

Charlie, I will introduce myself at WebDU.

On 3/3/07, Charlie Arehart [EMAIL PROTECTED] wrote:

 Again, this is going down the template cache and query cache routes, in
 trying to solve Duncan's problem with his CFQUERYPARAM error. Please do tell
 us, Duncan, if it's just the SELECT * or if indeed the problem remains even
 after that.

 But the points Andrew makes before are indeed often valuable ones when you
 have curious problems of errors sticking around when it's not obvious why
 they should. Good call, too, on implying the potential difference among DB
 drivers. That's another way to try to resolve curious problems, sometimes.

 /Charlie
 http://www.carehart.org/blog/

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Andrew Scott
 Sent: Thursday, March 01, 2007 10:08 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: @#$!! queryparam


 The suggestions I had mentioned, I didn't think of Trusted Cache but I never
 have that ticked for development but that might cause it and the other is
 Save Class Files but you will also need to delete the class files that are
 generated there as well.

 The other option is Maximum number of cache queries, but I think and am not
 100% sure that this is for the actual attribute cache for query tags!

 Now if you have done the above, we need more info about your environment
 that might cause this. Is the query in a cfc, that might be used in a scope
 like session or application or using a framework like MG:U, fusebox, Mach-II
 that might implement its own form of caching of queries and or components.

 Other than these, I cannot see any other reason without seeing the code that
 might be causing this.

 And are you using standard, coldfusion database connection and not a JDBC
 alternative?

 HTH in some way.

 Andrew Scott


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Another CFQUERYPARAM peculiarity

2007-03-04 Thread Duncan
Mike

We use a version between the previous suggestions:

For strings we use :

cfqueryparam cfsqltype=cf_sql_varchar value=#trim(stringHere)#
null=#NOT YesNoFormat(len(trim(stringHere)))#

you can use the same principle to enter a null for a date.

HTH

Duncan

On 3/5/07, Maximilian Nyman [EMAIL PROTECTED] wrote:

 How about
 cfqueryparam value=#myDate# cfsqltype=cf_sql_datetime null=#not
 isDate(myDate)# /

 /Max



 On 3/5/07, Charlie Arehart [EMAIL PROTECTED] wrote:
 
   Mike, I'll take a shot, but first I want to admit I'm not sure I'm
  appreciating all the nuances of what you've put forth. Are you saying
  basically that your insert/update fails because it expects either a date or
  null for this dateapproved column? It's not clear, because you never refer
  to a variable being the input for the date. You show either now() or empty
  string, but perhaps that was just for making a point about their being a
  date or not.
 
  If the date is indeed a variable (let's call it mydate), could you not
  then just add some CFML to test for the empty string or not:
 
  dateapproved = cfif mydate is NULLcfelsecfqueryparam,
  value=#mydate# cfsqltype=cf_sql_datetime//cfif
 
  Sorry if that's obvious and therefore not the issue. It's just that I
  could just see someone concluding for some reason that they couldn't do a
  CFQueryparam inside an IF, when indeed you can. (And for anyone who would
  prefer the IIF over CFIF in this kind of statement, that doesn't work here
  because it can't take tags, like the CFQueryParam, in its arguments, at
  least as far as I know).
 
  /Charlie
  http://www.carehart.org/blog/
 
 
 
   --
  *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On
  Behalf Of *Mike Kear
  *Sent:* Sunday, March 04, 2007 1:01 AM
  *To:* cfaussie
  *Subject:* [cfaussie] Another CFQUERYPARAM peculiarity
 
 
  Something that's been bugging me for a while but i never got around to
  finding the reason/fix for the problem.  I figured out a workaround and
  never got back to the fix.  Here's the problem ..
 
  i have a date field in a table thats (for example) specced as follows:
 
  DateApproved (datetime) Null
 
  If i insert into that field,  I can use this in my cfquery insert
  statement no problem:
 
  cfqueryparam, value=#now()# cfsqltype=cf_sql_datetime/
 
  But if there's no value yet, (e.g if this record isnt approved yet)  I
  get an error.   I'd have thought if the value for DateApproved (in this
  example) is 'no value' then just having the following in the insert
  statement would work.  No?
 
  cfqueryparam, value= cfsqltype=cf_sql_datetime/
 
  The workaround I've been using isnt really satisfactory because it
  defeats the purpose of cfqueryparam.  What i do is to drop the CFQUERYPARAM
  and use the following in the insert:
 
  #createODBCDateTime(now())#   or nothing if there isn't a date yet.   I
  suppose i could ensure there is always a date, and (to use this example)
  where the recod isnt approved, set the date to 1/1/1901 or something but
  that would seem to defeat the purpose too.
 
  Anyone see what i i'm doing wrong?
 
 
  Cheers
  Mike Kear
 
 
 


 --


 Mobile: 0424 77 57 67
 Home: 02 9968 3924
 Skype: maxnyman
 MSN Messenger: [EMAIL PROTECTED]
 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---

attachment: att4e9a6.jpg


[cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam

2007-03-04 Thread Duncan

does CF cache the query or is the DB that caches it

My understanding is: neither of these systems cache the query. What
happens is SQL creates an execution plan when it gets a SQL statement
to process. Where cfqueryparam is used, this plan is saved, (I would
guess this is an instruction passed by Java to have this happen) and
on subsequent processing takes this step out because it has already
created it. Hence the performance gain.

Thats my understanding - I think its close, however I know I am
probably missing the nuances of this process.

Duncan

On 3/5/07, Andrew Scott [EMAIL PROTECTED] wrote:

 Charlie,

 Well then I will try to not to pick on you then:-)

 What I said was I see no reason to use cfqueryparam for security originally,
 because I was unaware of the performance boost by it caching the query. But
 having said that the RDBMS has to support bind variables first for it to
 cache and work this way to begin with.

 When I mention SP, I was saying that I would prefer to use them and not
 referring to ou :-)

 Now all that aside after I think about it more, I can see a huge benefit in
 using stored procedures not for security but for the caching, but I would
 like to know does CF cache the query or is the DB that caches it? Just in
 case someone knows and can post before I get a chance to do some research on
 it.



 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.
 www.aegeon.com.au
 Phone:+613 8676 4223
 Mobile: 0404 998 273


 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Charlie Arehart
 Sent: Saturday, 3 March 2007 3:44 AM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam


 Andrew, I didn't say anything about SPs, nor did I (or would I) argue
 against them. In fact, there's nothing in my reply nor in your note I was
 replying to that discussed them.

 In my note to you (which I'll assume you are replying to here, since you
 didn't include it but I did offer two last night), I was just talking about
 clarifying which caching was being discussed, since you mentioned query
 caching while Duncan had referred to plan caching. And then we were
 suggesting not to just view CFQueryParam as a security tool.

 That said, can you reframe your question below? If it was just referring,
 like Duncan, to my point about Select *, I hope I've answered that in my
 last note.

 And let's not make this pick on Charlie day. Goodness, I'm just here to
 try to help. I never mean to get into a pissing match with anyone. I'm
 certainly not trying to smack anyone down or show my stick is bigger. I just
 like to share info and point out opportunities to correct or clarify.
 Email's a notoriously bad communication vehicle when it comes to conveying
 emotion. I just want to be clear that I have don't mean ever in my notes to
 be picking a fight or trying to one up anyone. I hope that helps put my
 responses in perspective.

 /Charlie
 http://www.carehart.org/blog/

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Andrew Scott
 Sent: Thursday, March 01, 2007 10:30 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] CFQUERYPARAM was RE: [cfaussie] Re: @#$!! queryparam


 Charlie,

 Can you do me a favour, and explain the typically valuable for performance
 issue. I don't understand that, because to me better performance would mean
 to have it as an SP to begin with.


 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.
 www.aegeon.com.au
 Phone:+613 8676 4223
 Mobile: 0404 998 273









 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: ColdFusion Hosting

2007-03-04 Thread Duncan

 Surely no one is hosting scorpio yet?

http://www.gotcfm.com/thelist.cfm

I was amazed to see the number of sites on here claiming to be running
CF 8. I know Camden.org and forta are running it - given their roles
in Adobe - no surprise.

But Aspen Snowmass? Abercrombie  Kent?  I understand Adobe's faith in
their Beta products, but surely a company wouldn't consider running
their production and mission critical apps on a product in beta. Or is
it really that good?

Duncan


On 3/5/07, Dale Fraser [EMAIL PROTECTED] wrote:

 Peter,

 Surely no one is hosting scorpio yet? I wish they were, bounty of features I
 am waiting for.

 Regards
 Dale Fraser

 http://dale.fraser.id.au/blog

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Peter Tilbrook
 Sent: Sunday, 4 March 2007 11:31 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: ColdFusion Hosting


 Too pricey and too local.

 And no Scorpio or up-to-date JVM.





 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: webJam Sydney

2007-03-04 Thread Duncan

Dont be scared Mark, we are all very nice!

On 3/5/07, Mark Mandel [EMAIL PROTECTED] wrote:
 How early we talking here Geoff? ;o)

 I'm a webDU banquet virgin, and I'm a little scared.

 Mark

 On 3/5/07, Geoff Bowers  [EMAIL PROTECTED] wrote:
 
  On Mar 5, 11:15 am, Bjorn Schultheiss  [EMAIL PROTECTED]
  wrote:
   What other 'get-togethers' will be happening during the conference?
   Let me know...
 
  National User Group 21-March-2007
  --
  This is an open get together at the Hilton, the night before webDU.
  Robin Hilliard is coordinating efforts here and has posted earlier.
 
 
  webJam webDU 22-March-2007
  --
  Well webJam is not strictly speaking to do with webDU -- but then now
  we have webJam webDU before the banquet (only available to folks with
  banquet tickets).  Should be fun.  And the webDU Banquet -- well its
  already notorious.
 
 
  Birds of a Feather
  --
  We're thinking we might run some early AM BOF on Friday.  Just not
  sure what the turn out might be ;)  Would anyone turn up for an early
  morning coffee and a chat about something CF related?  I'd be happy to
  host a FarCry User Group for instance.
 
 
  -- geoff
  http://www.daemon.com.au/
 
 
 
 



 --
 E: [EMAIL PROTECTED]
 W: www.compoundtheory.com

  



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] @#$!! queryparam

2007-03-01 Thread duncan . loxton

I think its to do with the binding or the caching of the query plan
but when we change a table in the DB, like remove a column or change
the length of a varchar, all the queries that use that table and have
a queryparam break.

We get messages like

[Macromedia][SQLServer JDBC Driver]Value can not be converted to
requested type.

on queries as simple as a Select * from table where id = cfqueryparam
cfsqltype=cf_sql_integer value=#id# and we didnt even change the
id column (obviously)

At the moment the only way we can find of making it all work again is
to remove all the params or to restart cf or sql. All of which are bad
in their own way even though its only on the dev box.

Strangely I havent come across this before, previous installations
havent had this, but I have just moved to inherit some software and
dev boxes and I cant work out why this is going on.

All the settings in the cfadmin db connection are the defaults.

Anyone else have this problem / have a solution?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Duncan

I should add to this that the queries are not using any caching, they
are not in a cfc, and are not loaded into any scopes like the
application. Simple, inline, straightforward queries.

On 3/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Scott - thats precisely why we use cfqueryparam - and the performance
 increase is marked, especially on inserts. There is a performance hit
 on the first time the query is put together, but after that you save
 time.

 Andrew - I thought the cached templates could be it - but its not, we
 just ran a control test: turn off cache, restart cf, change column,
 try query. And it still errors.

 On Mar 2, 1:33 pm, Andrew Scott [EMAIL PROTECTED] wrote:
  Scott,
 
  Well although I know what you said, I see no reason to add overhead to my
  application to provide a stop measure for SQL injection when I have already
  taken care of it before my code ever reaches there in a cffunction. As far
  as making sure it is an integer instead of numeric, I couldn't care less
  it's not an overhead I will put into my applications.
 
  And to be honest, I would prefer to write SP's and have it on the DB side if
  that to be the case.
 
  Andrew Scott
  Senior Coldfusion Developer
  Aegeon Pty. Ltd.www.aegeon.com.au
  Phone: +613  8676 4223
  Mobile: 0404 998 273
 
  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 
  Of Scott Thornton
  Sent: Friday, 2 March 2007 12:25 PM
  To: cfaussie@googlegroups.com
  Subject: [cfaussie] @#$!! queryparam
 
  Andrew,
 
  I disagree.
 
  Although cfqueryparam performs vailidation, it is not the reason you should
  be using it.
 
  cfqueryparam makes the database engine use parameter binding on your
  queries. For example your query below would look different to the db engine
  every time it is run
 
  eg:
Select * from Employees where EmployeeId = 1
Select * from Employees where EmployeeId = 2
Select * from Employees where EmployeeId = 3
 
  so your database engine builds different query execution plans for each of
  these queries (in addition to validating the query, checking\casting the
  parameter types etc)
 
  etc
 
  But with parameter binding the databse engine is executing something that
  looks more like a stored procedure,
 
Select * from Employees where EmployeeId = @var1
 
  Here is an example from a SQL profile trace on my server:
 
  declare @P1 int
  set @P1=30
  exec sp_prepexec @P1 output, N'@P1 decimal(38,0)', N'SELECT
  IsNull(COUNT(ITEM.SB_INVOICE_ITEM_ID),0) AS CNT,
 IsNull(SUM(ITEM.SB_INVOICE_COST),0) AS TOT_COST,
 IsNull(SUM(CASE WHEN ITEM.SB_ITEM_STATUS_CODE =
  ''ER'' THEN 1 ELSE 0 END),0) AS ERR_COUNT
  FROM
  SB_INVOICE_ITEM ITEM
  WHERE
  ITEM.SB_INV_BATCH_ID = @P1 ', 1387
  select @P1


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: @#$!! queryparam

2007-03-01 Thread Duncan

Charlie,

I didnt think that would be affecting it, I am more than aware that
its bad practice, and as it happens the queries in question do have *,
column1, column2 etc in them.

I know that you are pulling more data than necessary with a *
therefore slowing down processing with data processing an transfer.

That's good practice for all manner of reasons

Would you care to spell out other reasons?

Duncan

On 3/2/07, Charlie Arehart [EMAIL PROTECTED] wrote:

 Yes, as Scott later said, Andrew, you don't want to confuse caching of the
 query with what Duncan said, which was caching of the query plan.

 And as Scott clarified, you definitely don't want to spread the
 misconception that cfqueryparam is just for security. The value in query
 plan caching can be greater, for performance sake. Still, you're right that
 a query inside a CFC or UDF whose variables are all validated with
 CFARGUMENT just doesn't need the security aspect of CFQueryParam, but it's
 still typically valuable for performance.

 (I am giving a talk to the Atlanta SQL Server group on the subject of query
 plan caching, and some important changes in SQL 2005, as well as how to
 measure the impact of doing it or not. I've been planning to make a
 variation of that talk for CF audiences, focusing on MySQL and perhaps
 Oracle as well.)

 Anyway, Scott also got to the point of Duncan's problem below. It's your use
 of Select *. That's a notorious problem when using CFQUERYPARAM. The simple
 solution is to stop using that. That's good practice for all manner of
 reasons, not the least of which this.

 /Charlie
 http://www.carehart.org/blog/

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Andrew Scott
 Sent: Thursday, March 01, 2007 7:58 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: @#$!! queryparam


 Duncan,

 The query is only cached when you tell it to be cached. But are you using
 any other framework like reactor or transfer or even MG:U, or even have this
 in a cfc that might be stored in a session or application scope.

 One other thing I would like to point out that a lot of people do not take
 for granted, but tend to just do it anyway. I chose not to, but that is my
 choice.


 If the query is in a cfc, and that function uses arguments that will be used
 in the query for example

 cffunction name=getEmployee
  cfargument name=EmployeeId type=numeric required=true /

  cfset var Record = '' /
 cfquery name=Record datasource=
   Select * from Employees where EmployeeId = #Arguments.EmployeeId#
 /cfquery /cffunction

 I will never ever use the cfqueryparam, and the reason being is that the
 function itself will take care of the validation for me. However, although I
 did say never a string is a different story and will use it for a string.

 I know this has nothing to do with your problem, but just wanted to make
 that statement because I still see people use the cfqueryparam in places I
 know it is not necessary to use.

 If you would like to post a more detailed example on how you are using this,
 whether it is in any of my original methods then we can help you further but
 one thing to also take into consideration is the caching of the coldfusion
 class files too, this should never be switched on for development purposes.

 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.
 www.aegeon.com.au
 Phone:+613 8676 4223
 Mobile: 0404 998 273


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: refindnocase - trouble returning array

2007-03-01 Thread Duncan

Thanks Steve - works like a charm.

On 3/1/07, Steve Onnis [EMAIL PROTECTED] wrote:

 Here you go Duncan

 cfsavecontent variable=str
 digging around in sitebr#11245 - ant build scripts
 cfeclipse w/garrybrticketing tixbradd job drop box to ticketing #11249
 
 working according to #12345, #99587, #55352
 or simply just the ticket number
 #11466
 /cfsavecontent
 cfset reg = ##[0-9]* /
 cfset start = 1 /

 cfif REfindNoCase(reg, str, start)
 cfloop condition=REfindNoCase(reg, str, start)
 cfset tic = REfindNoCase(reg, str, start, true) /
 cfoutput#MID(str, tic.pos[1], tic.len[1])#/cfoutputbr
 /
 cfset start = tic.pos[1] + tic.len[1] /
 /cfloop
 /cfif

 Regards
 Steve Onnis

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Duncan
 Sent: Thursday, 1 March 2007 4:10 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: refindnocase - trouble returning array


 Thanks steve - they wont always come through in between br tags.

 Other examples might be:

  digging around in sitebr#11245 - ant build scripts
 cfeclipse w/garrybrticketing tixbradd job drop box to ticketing #11249
 
 working according to #12345, #99587, #55352
 or simply just the ticket number
 #11466 

 On 3/1/07, Steve Onnis [EMAIL PROTECTED] wrote:
 
 
  !--- a comment with 3 ticket numbers inside ---
  cfset PeriodNote = #11453br#11467br#11500 
 
  cfset tickets = ListToArray(REReaplceNoCase(PeriodNote, [^]*, ,
  ALL), ##) /
 
  That should return all the number sections for you.
 
  I think that's what your trying to do
 
  Steve
 
  -Original Message-
  From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
 Behalf
  Of [EMAIL PROTECTED]
  Sent: Thursday, 1 March 2007 3:44 PM
  To: cfaussie
  Subject: [cfaussie] refindnocase - trouble returning array
 
 
  I am having trouble getting refindnocase to return an array - I know
  there are more than one match. I am parsing the text in the notes
  field on our ticketing system and hoping to link up the tix # to the
  URL for it.
 
  Here is my code:
 
  !--- a comment with 3 ticket numbers inside ---
  cfset PeriodNote = #11453br#11467br#11500 
 
  cfset post = ReFindNoCase(##\d+,PeriodNote,1,True)
 
  cfdump var=#post#
 
  I tried this stuff about parenteses that the livedocs has -
 
  cfset post = ReFindNoCase((##\d+)[ ]+(\1),PeriodNote,1,True)
 
  but that simply returns nothing - not even one match - what am I
  missing?
 
  Thanks
 
 
 
 
 
  
 


 --
 Duncan I Loxton
 [EMAIL PROTECTED]




 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: refindnocase - trouble returning array

2007-02-28 Thread Duncan

The data is coming from a SQL text() field, its input as comments to a
ticket, therefore I have to parse the comment text and find the ticket
numbers.

Any examples of how to do this in java greatly appreciated.

On 3/1/07, Haikal Saadh [EMAIL PROTECTED] wrote:

 I gave up on the CF RE functions a long time ago. Maybe try using the
 java regexps matching classes instead?

 Now, Mr. Occam is waving his razor, so I'll ask why you're storing the
 data in this format? Why not use a list, and then output it later?

 [EMAIL PROTECTED] wrote:
  I am having trouble getting refindnocase to return an array - I know
  there are more than one match. I am parsing the text in the notes
  field on our ticketing system and hoping to link up the tix # to the
  URL for it.
 
  Here is my code:
 
  !--- a comment with 3 ticket numbers inside ---
  cfset PeriodNote = #11453br#11467br#11500 
 
  cfset post = ReFindNoCase(##\d+,PeriodNote,1,True)
 
  cfdump var=#post#
 
  I tried this stuff about parenteses that the livedocs has -
 
  cfset post = ReFindNoCase((##\d+)[ ]+(\1),PeriodNote,1,True)
 
  but that simply returns nothing - not even one match - what am I
  missing?
 
  Thanks
 
 
  
 

 --
 Haikal Saadh
 Applications Programmer
 ICT Resources, TALSS
 QUT Kelvin Grove


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] session only cookies with the cfapplication tag

2007-02-22 Thread duncan . loxton

I cant work out why I never came across this before but can someone
answer this for me? Apologies for asking an age old question thats
probably been asked a million times.

This tag makes a user use a file based cookie, this means that logging
in to one site in one browser window will result in the same sesison
in a completely new instance of the browser.

cfapplication Name=#cgi.http_host#46
   ClientManagement=Yes
   SessionManagement=Yes
   SetClientCookies=Yes
   sessiontimeout=#CreateTimeSpan(0,2,0,0)#
   ApplicationTimeout=#CreateTimeSpan(0,2,0,0)#
   

The following combination of cfapplication and cfcookie makes an in
memory cookie. this means you can log in to site x in 2 different
browsers with 2 different logins and maintain 2 different sessions on
the same site.

cfapplication Name=#cgi.http_host#46
   ClientManagement=Yes
   SessionManagement=Yes

   sessiontimeout=#CreateTimeSpan(0,2,0,0)#
   ApplicationTimeout=#CreateTimeSpan(0,2,0,0)#
   ClientStorage=red5_client_vars

cfcookie name=cfid value=#Client.cfid#
cfcookie name=cftoken value=#Client.cftoken#

Firstly - whats the protocol as far as security here? Whats the
general consensus - do y'all do the former or the latter? Does it
depend on the application?
Secondly - this has obvious testing advantages - i.e. being able to
log in as 2 different user levels on the same site and flick to make
sure things behave right.
Thirdly - Can you do session only cookies without using the separate
cfcookie tag?

Thanks all!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: session only cookies with the cfapplication tag

2007-02-22 Thread Duncan

Thanks Barry - we thought of this!  I am actually most interested the
cf programming side - can you do session only cookies without using
the separate cfcookie tag?

On 2/23/07, Barry Beattie [EMAIL PROTECTED] wrote:

  Secondly - this has obvious testing advantages - i.e. being able to
  log in as 2 different user levels on the same site and flick to make
  sure things behave right.

 another way of course is to use 2 different browsers: IE for level 1
 and FF for level 2.

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] QoQ inside a CFC function

2007-02-15 Thread duncan . loxton

All,

Just having a blank here - I cant work out why i cant pass a query to
a CFC and then have it do a QoQ and return another query object. I
have knocked up a sample test case to try and work it out:

CFM page:

cfquery name=qIPBlacklist datasource=#application.DBDSN#
username=#application.DBUserName#
password=#application.DBPassword#

Select top 10 * from ParamTest

/cfquery

cfobject component=tempQuery name=testQueryObj

cfset qReturnedResults=testQueryObj.doQoQ(thisQuery=qIPBlacklist)/

CFC:

cfcomponent output=false

cffunction name=doQoQ access=package output=false
returntype=Any

cfargument name=thisQuery type=Query required=true /

cfset var thisResult = /

cfquery name=thisResult dbtype=query

Select * from #arguments.thisQuery#

/cfquery

cfreturn thisResult /

/cffunction

/cfcomponent

This results in a Simple objects cannot be converted, clearly if I
call like this:
cfset qReturnedResults=testQueryObj.doQoQ(thisQuery='qIPBlacklist')/
I am simply passing a string which then results in a This is not a
valid query object error.

Any help greatly appreciated! Thanks.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: QoQ inside a CFC function

2007-02-15 Thread Duncan

Yes it is, and we did it just to prove so, in the original code:

cfset qReturnedResults=testQueryObj.doQoQ(thisQuery=qIPBlacklist)/

 this returns a simple object cannot be converted... error!



On 2/16/07, Barry Beattie [EMAIL PROTECTED] wrote:

  cfset qReturnedResults=testQueryObj.doQoQ(thisQuery='qIPBlacklist')/

 isn't 'qIPBlacklist' just a string/text/name of a variable, not the
 origional query itself?

 what happens if you do this?

 cfset qReturnedResults=testQueryObj.doQoQ(thisQuery=qIPBlacklist)/

 just a quick thought while I wake up

 cheers
 barry.b


 On 2/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  All,
 
  Just having a blank here - I cant work out why i cant pass a query to
  a CFC and then have it do a QoQ and return another query object. I
  have knocked up a sample test case to try and work it out:
 
  CFM page:
 
  cfquery name=qIPBlacklist datasource=#application.DBDSN#
  username=#application.DBUserName#
  password=#application.DBPassword#
 
  Select top 10 * from ParamTest
 
  /cfquery
 
  cfobject component=tempQuery name=testQueryObj
 
  cfset qReturnedResults=testQueryObj.doQoQ(thisQuery=qIPBlacklist)/
 
  CFC:
 
  cfcomponent output=false
 
  cffunction name=doQoQ access=package output=false
  returntype=Any
 
  cfargument name=thisQuery type=Query required=true /
 
  cfset var thisResult = /
 
  cfquery name=thisResult dbtype=query
 
  Select * from #arguments.thisQuery#
 
  /cfquery
 
  cfreturn thisResult /
 
  /cffunction
 
  /cfcomponent
 
  This results in a Simple objects cannot be converted, clearly if I
  call like this:
  cfset qReturnedResults=testQueryObj.doQoQ(thisQuery='qIPBlacklist')/
  I am simply passing a string which then results in a This is not a
  valid query object error.
 
  Any help greatly appreciated! Thanks.
 
 
  
 

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: QoQ inside a CFC function

2007-02-15 Thread Duncan

Thanks Adam - strange syntax.

On 2/16/07, Adam Chapman [EMAIL PROTECTED] wrote:

 Hi Duncan..

 In your cfc, try this sql:

 Select * from arguments.thisQuery

 Cheers,
 Adam

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, 16 February 2007 9:41 AM
 To: cfaussie
 Subject: [cfaussie] QoQ inside a CFC function


 All,

 Just having a blank here - I cant work out why i cant pass a query to
 a CFC and then have it do a QoQ and return another query object. I
 have knocked up a sample test case to try and work it out:

 CFM page:

 cfquery name=qIPBlacklist datasource=#application.DBDSN#
 username=#application.DBUserName#
 password=#application.DBPassword#

 Select top 10 * from ParamTest

 /cfquery

 cfobject component=tempQuery name=testQueryObj

 cfset qReturnedResults=testQueryObj.doQoQ(thisQuery=qIPBlacklist)/

 CFC:

 cfcomponent output=false

 cffunction name=doQoQ access=package output=false
 returntype=Any

 cfargument name=thisQuery type=Query
 required=true /

 cfset var thisResult = /

 cfquery name=thisResult dbtype=query

 Select * from #arguments.thisQuery#

 /cfquery

 cfreturn thisResult /

 /cffunction

 /cfcomponent

 This results in a Simple objects cannot be converted, clearly if I
 call like this:
 cfset qReturnedResults=testQueryObj.doQoQ(thisQuery='qIPBlacklist')/
 I am simply passing a string which then results in a This is not a
 valid query object error.

 Any help greatly appreciated! Thanks.




 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Calling CFX from a CFC

2007-02-15 Thread duncan . loxton

Wow a busy day already!

I am trying to write a CFC to encapsulate the cfx_imagecr3 tag and for
some reason as soon as I put it in a cffunction it craps Jrun out -
nothing doign at all.

cffunction name=getImageInfo

cfargument name=path default=

cfset var ImageCR = 

cfx_imagecr3 
getimageinfo=C:\development\localhost\webroot\images
\2ebd811af89d043a39d225df524ad3491.jpg

cfreturn arguments.path /

/cffunction


cfset ThisPic=C:\development\localhost\webroot\images
\2ebd811af89d043a39d225df524ad3491.jpg

cfoutput#expandpath(ThisPic)#/cfoutput

!--- cfx_imagecr3 getimageinfo=#ThisPic#  ---
cfset ImageCR = getimageinfo(#ThisPic#)

cfdump var=#ImageCR#

cfabort

When the cfx_ tag is outside of a function it works like a charm. I am
using cf7 standalone with a developer licence. Have tried on our
licensed dev box too and the same thing happens.

Whats the go here?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Calling CFX from a CFC

2007-02-15 Thread Duncan

Aaaa - see this sensible looking line? cfset var ImageCR = 

it forces the cfx to puke out because its the name of the return
variable by default from the cfx.

There was me thinking I was sensible and being a good coder puttin in
my var'ed variables.

On 2/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Wow a busy day already!

 I am trying to write a CFC to encapsulate the cfx_imagecr3 tag and for
 some reason as soon as I put it in a cffunction it craps Jrun out -
 nothing doign at all.

 cffunction name=getImageInfo

 cfargument name=path default=

 cfset var ImageCR = 

 cfx_imagecr3 
 getimageinfo=C:\development\localhost\webroot\images
 \2ebd811af89d043a39d225df524ad3491.jpg

 cfreturn arguments.path /

 /cffunction


 cfset ThisPic=C:\development\localhost\webroot\images
 \2ebd811af89d043a39d225df524ad3491.jpg

 cfoutput#expandpath(ThisPic)#/cfoutput

 !--- cfx_imagecr3 getimageinfo=#ThisPic#  ---
 cfset ImageCR = getimageinfo(#ThisPic#)

 cfdump var=#ImageCR#

 cfabort

 When the cfx_ tag is outside of a function it works like a charm. I am
 using cf7 standalone with a developer licence. Have tried on our
 licensed dev box too and the same thing happens.

 Whats the go here?


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Calling CFX from a CFC

2007-02-15 Thread Duncan

Interesting. We are currently experiencing errors on where this is in
use on a high volume site. If it isnt thread safe does that mean that
it is subject to race conditions and 2 requests can collide?

On 2/16/07, Andrew Scott [EMAIL PROTECTED] wrote:

 Duncan,

 That's means that this tag is not thread safe then.


 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.
 www.aegeon.com.au
 Phone: +613  8676 4223
 Mobile: 0404 998 273

 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Duncan
 Sent: Friday, 16 February 2007 12:00 PM
 To: cfaussie
 Subject: [cfaussie] Re: Calling CFX from a CFC


 Aaaa - see this sensible looking line? cfset var ImageCR = 

 it forces the cfx to puke out because its the name of the return
 variable by default from the cfx.

 There was me thinking I was sensible and being a good coder puttin in
 my var'ed variables.


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Calling CFX from a CFC

2007-02-15 Thread Duncan

its a C++ CFX tag - would this still be the case?

I could understand this if its a Java CFX.

On 2/16/07, Andrew Scott [EMAIL PROTECTED] wrote:

 Yep, because the fix you found for your problem would have stopped that from
 happening.



 Andrew Scott
 Senior Coldfusion Developer
 Aegeon Pty. Ltd.
 www.aegeon.com.au
 Phone: +613  8676 4223
 Mobile: 0404 998 273


 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
 Of Duncan
 Sent: Friday, 16 February 2007 4:54 PM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: Calling CFX from a CFC


 Interesting. We are currently experiencing errors on where this is in
 use on a high volume site. If it isnt thread safe does that mean that
 it is subject to race conditions and 2 requests can collide?


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Way To Many WOTs...

2007-02-08 Thread Duncan

cfcommunity is available as well - not aussie based but perhaps a
better place for these?

Duncan

On 2/9/07, Robin Hilliard [EMAIL PROTECTED] wrote:
 I'm not following the threads, but my inbox seems to have been full of posts
 starting [cfaussie] [OT] or [WOT] over the last few weeks - which is
 reducing the utility of the list for people actually asking ColdFusion
 questions.  I realise cfaussie serves a second process as a social catchup
 for a lot of us, perhaps we could start a netaussie list for the more
 general community discussions.

 Cheers,
 Robin
  



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: SMSC SMS providers in Australia

2006-09-26 Thread Duncan

Lucas,

I just had a chat with the IT guys here, asa far as they are aware
there isnt a provider in Aus that allows you to do this. Java API,
HTTP and email are the only ways we know of.

Having said that they havent looked into this for a while - if you
find someone that allows you to connect direct to the gateway then I
would certainly like to hear about it.

Something we are looking at doing here too.

Duncan


On 9/27/06, Joel Cass [EMAIL PROTECTED] wrote:


 For a gateway, you could try setting up Kannel http://www.kannel.org/ to
 send SMS messages. All you might need is an account with a phone provider, a
 56k modem (or maybe a mobile - though telstra does offer SMS from landline
 on some phones), and a linux box.. And probably a bit of time stuffing
 around trying to get it working. Might work, might not. Worth looking into.

 Joel


 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] Behalf
 Of Steve Onnis
 Sent: Wednesday, 27 September 2006 11:37 AM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: SMSC SMS providers in Australia


 When you say free I believe its not actually free as such.  Its a gateway
 that you need to hook into an actual SMS gateway so you still have to pay
 for messages.  You don't actually send messages and receive messages for
 free.  It is supposed to an example of how to create a gateway.

 Correct me if I am wrong though.

 Steve


 -Original Message-
 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] Behalf
 Of Lucas
 Sent: Wednesday, September 27, 2006 10:38 AM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] Re: SMSC SMS providers in Australia

 Hi Tof,
 thanks for that - we are already working with these guys and their java api
 but we want to take things to the next level and make use of the free SMSC
 intergration/gateway that is in CFMX Enterprise.

 L.


 On 9/26/06, christophe albrech [EMAIL PROTECTED] wrote:
  Lucas,
 
  Here, we're using messagemedia, who are an sms wholesaler. this means that
 you can actually bill your clients per SMS. they have an java api, which
 works pretty well.
 
  Tof
 
 
  On 9/20/06, Lucas [EMAIL PROTECTED] wrote:
 
   Hey Folks,
   does anyone know of a good SMS provider in Australia that will allow us
 to connect to their SMSC from the ColdFusion SMS gateway?
  
   cheers,
   Lucas.
  
   --
  
  
   http://www.thebitbucket.net
  
  
  
 
 
 
 
 
 



 --

 Lucas

 http://www.thebitbucket.net


  



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: webservice confusion

2006-05-23 Thread Duncan

It would appear that the defaults for a non required parameter doesnt
get pased into the wsdl, that might be the reason - any one have any
feedback on this?


On 5/23/06, Duncan [EMAIL PROTECTED] wrote:
 I would agree with you for a regular cfc, but here we are referring to
 a webservice and the docs expicitly say

 Note: All arguments are required when invoked as a web service,
 irrespective of how they are defined.

 So I dont quite know why this would be the case. Clearly you need to
 define vars and defaults and check for existance thats standard, but
 why does a webservice behave differently.

 Duncan

 On 5/23/06, Mark Ireland [EMAIL PROTECTED] wrote:
 
 
  I think required=yes just means that there is some code (usually SQL) in
  the component that will not work without the argument.
 
  Usually cfif isDefined(arguments.myArgument)
 
 
  From: [EMAIL PROTECTED]
  Reply-To: cfaussie@googlegroups.com
  To: cfaussie cfaussie@googlegroups.com
  Subject: [cfaussie] webservice confusion
  Date: Mon, 22 May 2006 22:19:29 -
  
  
  So I am looking at a webservice from a developer and then compared it
  to the webservice on goog.
  
   From the docs for cfargument:
  
  Note: All arguments are required when invoked as a web service,
  irrespective of how they are defined.
  
  So this is saying that you must always use required=yes meaning that
  anyone that consumes the service must pass in a blank parameter value.
  
  On fullasagoog the params arent all required:
  http://www.fullasagoog.com/webservice.cfm
  
  so for example they would be doing this:
  cfargument name=source type=string required=no /
  
  Whats up with that? I dont understand why the docs say required, but
  goog has not required.
  
  Do I really have to have required=yes for every param? What happens if
  its no and the consumer doesnt pass in a blankvalue/key pair?
  
  Thanks
  
  
  
 
  _
  Read, write and reply to Hotmail on your mobile. Find out more.
  http://mobilecentral.ninemsn.com.au/mcmobileHotmail/home.aspx
 
 
   
 


 --
 Duncan I Loxton
 [EMAIL PROTECTED]



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] webservice confusion

2006-05-22 Thread duncan . loxton

So I am looking at a webservice from a developer and then compared it
to the webservice on goog.

From the docs for cfargument:

Note: All arguments are required when invoked as a web service,
irrespective of how they are defined.

So this is saying that you must always use required=yes meaning that
anyone that consumes the service must pass in a blank parameter value.

On fullasagoog the params arent all required:
http://www.fullasagoog.com/webservice.cfm

so for example they would be doing this:
cfargument name=source type=string required=no /

Whats up with that? I dont understand why the docs say required, but
goog has not required.

Do I really have to have required=yes for every param? What happens if
its no and the consumer doesnt pass in a blankvalue/key pair?

Thanks


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: webservice confusion

2006-05-22 Thread Duncan

I would agree with you for a regular cfc, but here we are referring to
a webservice and the docs expicitly say

Note: All arguments are required when invoked as a web service,
irrespective of how they are defined.

So I dont quite know why this would be the case. Clearly you need to
define vars and defaults and check for existance thats standard, but
why does a webservice behave differently.

Duncan

On 5/23/06, Mark Ireland [EMAIL PROTECTED] wrote:


 I think required=yes just means that there is some code (usually SQL) in
 the component that will not work without the argument.

 Usually cfif isDefined(arguments.myArgument)


 From: [EMAIL PROTECTED]
 Reply-To: cfaussie@googlegroups.com
 To: cfaussie cfaussie@googlegroups.com
 Subject: [cfaussie] webservice confusion
 Date: Mon, 22 May 2006 22:19:29 -
 
 
 So I am looking at a webservice from a developer and then compared it
 to the webservice on goog.
 
  From the docs for cfargument:
 
 Note: All arguments are required when invoked as a web service,
 irrespective of how they are defined.
 
 So this is saying that you must always use required=yes meaning that
 anyone that consumes the service must pass in a blank parameter value.
 
 On fullasagoog the params arent all required:
 http://www.fullasagoog.com/webservice.cfm
 
 so for example they would be doing this:
 cfargument name=source type=string required=no /
 
 Whats up with that? I dont understand why the docs say required, but
 goog has not required.
 
 Do I really have to have required=yes for every param? What happens if
 its no and the consumer doesnt pass in a blankvalue/key pair?
 
 Thanks
 
 
 

 _
 Read, write and reply to Hotmail on your mobile. Find out more.
 http://mobilecentral.ninemsn.com.au/mcmobileHotmail/home.aspx


 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: cfinclude and memory usage

2006-05-16 Thread Duncan

Thanks Mike, anyone else have any comment?

On 5/13/06, Mike Kear [EMAIL PROTECTED] wrote:

 My understanding is that an include is just the same as if the contents of
 the include had been typed at the location where the CFINCLUDE tag is.
 CFINCLUDEs are simply a way of organising the code,or allowing snippets of
 code to be reused in more than one page.

 IF thats the case, any queries in an include would remain in memory until
 the end of the page request.

 There are a lot of advantages of using CFINCLUDEs but that isnt one of them.
Not by my understanding.   So I agree with you Duncan.

 Cheers
 Mike Kear
 Windsor, NSW, Australia
 Certified Advanced ColdFusion Developer
 AFP Webworks
 http://afpwebworks.com
 ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



 On 5/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  I have just seen this on a forum and have a feeling its misguided:
 
  use cfinclude to seperate major query as CF will process each
  cfinclude in different thread.
  and will release the memmory when the cfinclude page finish.
 
  Can anyone shed any light on the correctness of this statement?
 
  I would say its false because its a linear process and the query has to
  stay iun memory until the request is finished.
 
 
 
 
 
  --
 
   
 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] CFC / Webservice summary

2006-05-16 Thread duncan . loxton

CF doesnt do the nice methods summary when you remove the wsdl like on
a .net webservice.

Currently it redirects to the cfide cfcexplorer, but I dont want to
give out my admin password to people trying to build on our webservice.

Any solutions to this?

What spiel do you give out to people trying to integrate with your
service?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: CFC / Webservice summary

2006-05-16 Thread Duncan

Nothing for me, but I have a difficult client who is trying to work
with the web service and hes going [paraphrased]

why is it not .asmx nya nya nya and why do I not get a methods
summary nya nya nya??? 

Hes being a little inflexible if you ask me, and I know (and have told
him) that all the methods are in the wsdl.

So I was wondering if there was something I dont know that can stretch
half way to what he wants.

Duncan

On 5/17/06, Chris Velevitch [EMAIL PROTECTED] wrote:

 What's wrong with the xml output you get with enter http://...cfc?wsdl
 as the url?



 Chris
 --
 Chris Velevitch
 Manager - Sydney Flash Platform Developers Group
 www.flashdev.org.au

 



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: CFC / Webservice summary

2006-05-16 Thread Duncan

Andrew that looks awesome - right on target of what I was after!

On 5/17/06, Andrew Muller [EMAIL PROTECTED] wrote:
 How about CFCRemoteDocumenter:
 http://www.changemedia.org/cfcremotedocumenter/

 Geoff uses it on Full As A Goog and it seems pretty good to me:

 http://www.fullasagoog.com/webservice.cfm

 Andrew


 On 5/17/06, [EMAIL PROTECTED]  [EMAIL PROTECTED] wrote:
 

 CF doesnt do the nice methods summary when you remove the wsdl like on
 a .net webservice.

 Currently it redirects to the cfide cfcexplorer, but I dont want to
 give out my admin password to people trying to build on our webservice.

 Any solutions to this?

 What spiel do you give out to people trying to integrate with your
 service?



 --
 ---
 Andrew Muller
 http://www.rebelspirit.com.au

 




-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Where have all the CF developers gone?

2006-05-12 Thread Duncan

I think this comes from the lack of people available now, I would
consider paying 85-90 for a senior programmer, but through an agency?
Tough call. They would have to be very special.

In my opinion I think agencies should be given a wide berth from the
candidate and the company perspectives. They dont treat candidates
well (even though thats what earns them the cash) and companies get a
raw deal on fees.

We dont and havent hired anyone through an agency for 4 years.

Duncan

On 5/13/06, Ryan Sabir [EMAIL PROTECTED] wrote:



  So does that answer your question, Ryan?

 Haha, well yes in a roundabout way :)

 In response to some of the feedback I've been getting, I've removed the pay
 scale from the ad. Also, have reworded some of the requirements. We did this
 a few days ago but still haven't had any responses.

 The ad is still up there if people are interested:
 http://mycareer.com.au/4029944

 We've gotten a few resumes from recruitment firms. We're getting a lot of
 people asking for a salary of around 90k, and thats before the commission
 we'd have to pay. That seems to me a little high, for a full-time CF
 programmer position. Definately if it was a managerial role, but this is
 more of a lead programmer role. Are there employers out there paying this
 much for a CF programmer? Or are they just being talked up by their
 agencies?

 seeya


  



-- 
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: [OT] Image preloading check please

2006-04-23 Thread Duncan

Taco,

No joy I am afraid, its not preloaded. I get a blank space before the
on image appears.

Duncan

On 4/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi all,

 Sorry for the OT.
 Would someone be so kind to check the following site whether it
 preloads the images for the main navigation?
 http://www.commerceengine.com.au
 I tried checking it through a proxy, but the disable javascript!.



 Kind regards,

 Taco Fleur

 Commerce Engine Pty Ltd - Australia's leading online Payment Gateway
 ...
 Local Call 1300 859 179
 Postal Address: PO Box 15118, City East Brisbane, Queensland, 4002,
 Australia
 Head office: 31 Valencia Court, Eatons Hill, Queensland, 4037,
 Australia
 Telephone: +61 (0) 7 3857 3881
 Fax: +61 (0) 7 3414 6464
 Internet: http://www.commerceengine.com.au

 - Accepting payments online is easy
 - Developer API, XML, POST
 - Low fees
 - Full integration by a one-stop-shop

 

 The information contained in this email may be confidential. You should
 only disclose, re-transmit, copy, distribute, act in reliance on or
 commercialise the information if you are authorised to do so. Any views
 expressed in this email communication are those of the individual
 sender, except where the sender specifically states them to be the
 views of Commerce Engine Pty Ltd. Any advice contained in this e-mail
 has been prepared without taking into account your objectives,
 financial situation or needs. Before acting on any advice in this
 e-mail, Commerce Engine recommends that you consider whether it is
 appropriate for your circumstances. Commerce Engine does not represent,
 warrant or guarantee that the integrity of this communication has been
 maintained nor that the communication is free of errors, virus or
 interference.
 Commerce Engine Pty Ltd ACN 118 850 552


 



--
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Quoting - calculate the planning to dev to testing ratio

2006-04-22 Thread Duncan

There are a lot of people doing 110% around here!

Lately I have been of the impression that generally you should spend
plenty of time in design, and less in dev and about the same again in
testing because if you get the design right, wireframes, func spec etc
then the client can see what they will get before you actually get
dirty. This way the dirty stage doesnt get ugly when you have to
change things because you didnt get the right questions asked in req
gathering stage.

I was wondering how this view is received by others.

Duncan

On 4/18/06, M@ Bourke [EMAIL PROTECTED] wrote:
 The requirement stage is the most important stage of any project
 as the dev and testing stage will refer directly back to the requirement
 stage
 I say
 30% requirement stage (allowing back and forth crap during dev)
 55% dev
 20% testing (allowing back and forth crap)
 5% maths classes

 M@




  



--
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Quoting - calculate the planning to dev to testing ratio

2006-04-17 Thread duncan . loxton

A bit OT I know but does any one work with a formula that takes an
estimated number of hours in dev and then calculates (roughly) how much
time is required for specs, dev, documentation, testing?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Verity operators are great - but what are they in Arabic/french/german/chinese???

2006-04-05 Thread duncan . loxton

On this page in livedocs :
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=1306.htm

at the very bottom in very small text it says something very
interesting.

When you search a collection in a language other than English, you
must translate operators such as AND and OR into the language of the
collection.

Where do we find these operators? Does anyone have an exhaustive list
they would like to share?

Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] uninstalling CF 7.0.1 hot fix

2006-04-03 Thread duncan . loxton

Hi all,

I have just applied the Hot Fix 2 to my machine and get nothing but 500
null from any request to a cfm page.
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=aae43964pss=rss_coldfusion_aae43964

Is there a way to uninstall the hot fix? Any pointers for fixing the
issue?

I have applied it to a dev server that hasnt had its services restarted
yet and I would like to  remove the hot fix before its CF service is
restarted if thats at all possible.

Thanks


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: uninstalling CF 7.0.1 hot fix

2006-04-03 Thread Duncan

I loaded in the jar file through the administrator. I havent a clue
where this stuff gets saved etc. So I would happily undo the pointer,
but I dont know where it is.

On 4/4/06, Chris Velevitch [EMAIL PROTECTED] wrote:

 On 4/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Is there a way to uninstall the hot fix? Any pointers for fixing the
  issue?

 Isn't it simply a matter of reversing the install instructions?
 Afterall you just told CF where cf7010002.jar is located.



 Chris
 --
 Chris Velevitch
 Manager - Sydney Flash Platform Developers Group
 www.flashdev.org.au

 



--
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Webservice wierdness

2006-03-13 Thread Duncan

Thanks Chris, after an hour or so of playing I have come to the
conclusion that I will be creating the SOAP request and then POST'ing
all the data like that,

I will try your suggestion about the hosts file tomorrow.

Thanks!

On 3/13/06, Chris Bauer [EMAIL PROTECTED] wrote:

 Hi Duncan,

 The good news is that the webservice is generating or providing a WSDL
 descriptor, it looks like the problem may be that you're requesting the
 service over HTTPS, but as the request doesn't match the SSL
 certificate's hostname, the SSL handshake can't complete (in a browser
 you'll see a popup warning about the certificate).

 You should be able to solve this by using the hostname rather than IP
 address - if you have to, specify the IP address in a local hosts file
 on the server to avoid external DNS lookups.

 https://gateway.monster.com:8443/bgwBroker

 rather than

 https://63.112.170.8:8443/bgwBroker

 HTH
 Chris

 [EMAIL PROTECTED] wrote:
  We are trying to do some integration with Monster and use their
  webservice to post jobs and receive feedback from them.
 
  When we add this to the CF7 admin
 
  https://63.112.170.8:8443/bgwBroker
 
  We get this feedback: Error creating web service. Please ensure that
  you have entered a correct Web Service name or URL.
 
  Is this an error caused by the certificate not being valid on this IP?
  Or is it to do with the 'webservice' at their end.  It doesnt look
  like a traditional webservice when you view it in the browser - more
  like an XSD.
 
  What other way could we use this webservice?






--
Duncan I Loxton
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---