[cfaussie] Re: tvguide.com.au

2006-04-10 Thread Scott Barnes

hehehe someone has to manage the daycares ;)


On 4/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> "Government Managed"
> Isn't that a contradiction in terms?
>
>
> Scott Barnes wrote:
> > Said the drop to the ocean. Last I heard, QUT was a govt managed entity.
> >
> > oh poo to you then.heh.
> >
> > On 4/11/06, Barry Beattie <[EMAIL PROTECTED]> wrote:
> > >
> > > Gee, Scott, this was *ages* ago. C'mon, keep up.
> > >
> > > Oh, that's right. You're a public servant now. that explains it.
> > >
> > > >
> > >
> >
> >
> > --
> > Regards,
> > Scott Barnes
> > http://www.mossyblog.com
>
>
> >
>


--
Regards,
Scott Barnes
http://www.mossyblog.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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Connecting Coldfusion to Access databases with out ODBC.

2006-04-10 Thread David Harris

Hi Gareth,

You'll have to explain to me what you are meaning.

When you say ODBC, I understand this to mean:
"A database that shows up in control panel > Admin Tools > Data Sources
(ODBC)"

Looking at the example DB's in CFAdmin, they are "Microsoft Access with
Unicode"
There are 2 options of "Microsoft Access" and "Microsoft Access with
Unicode" and also a "ODBC Socket" data source type.

The access type drivers don't show in the ODBC data bases on the DB
server, so I guessed that meant they are not using ODBC.

That is just me observing what the settings and with out actually
*knowing* they are not ODBC tho...

Some one out there will put me straight if I'm wrong! :-)


--~--~-~--~~~---~--~~
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: Session sharing

2006-04-10 Thread

Hi Scott,

We had the same issue here just about a week ago. We found that
ColdFusion has issues with sessions, cookies, and pretty much anything
related. Two things. Check how you are doing Cookies, and check your
session managment, i.e. your timeout of your cflogin(if you are using
it) isn't causing you issues. I know that ColdFusion also seems to have
issues with sharing the same cfid and cftoken across the browsers. Its
almost like it gets confused or corupted.

We are in the process right now of converting our Application.cfm to
Application.cfc to hopefully counter-act this issue. Although that said
you can't help what users do. Just make sure you aren't passing your
CFID and CFTOKEN via the URL. 

Hope that helps a little.

Jeremy


--~--~-~--~~~---~--~~
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: tvguide.com.au

2006-04-10 Thread [EMAIL PROTECTED]

"Government Managed"
Isn't that a contradiction in terms?


Scott Barnes wrote:
> Said the drop to the ocean. Last I heard, QUT was a govt managed entity.
>
> oh poo to you then.heh.
>
> On 4/11/06, Barry Beattie <[EMAIL PROTECTED]> wrote:
> >
> > Gee, Scott, this was *ages* ago. C'mon, keep up.
> >
> > Oh, that's right. You're a public servant now. that explains it.
> >
> > >
> >
> 
> 
> --
> Regards,
> Scott Barnes
> http://www.mossyblog.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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Duplicate() Function in MX 7.0.1

2006-04-10 Thread Joel Cass

Does anyone know if there are bugs in the duplicate() function?

I am having some trouble passing some simple but large struct arrays (e.g.
array[index]=struct[]), but the keys seem to get randomly confused, what
seems to be happening is that a date value will be randomly replaced by a
struct from another index or vice versa.

I am pointing this to the duplicate function as I have made a "deep copy"
function that does the job of duplicate() successfully, but is about 50
times slower (40-50ms vs. 2000-3000 ms). I have also used the WDDX parse
out-in method successfully, and while being faster than recursive method, it
is slow aswell.

Here is the function




















if (isSimpleValue(object)) {
returnValue=object;
returnType ="simple";
} else if (isStruct(object)) {
returnValue=structNew();
returnType ="struct";
for (i in object) {

returnValue[i]=deepCopy(object[i],methodType);
}
} else if (isArray(object)) {
returnValue=arrayNew(1);
returnType ="array";
for (i=1; i LTE arrayLen(object); i=i+1) {

returnValue[i]=deepCopy(object[i],methodType);
}
} else {
returnValue=object;
returnType ="other";
}






Any ideas or advice?

Thanks
Joel




--~--~-~--~~~---~--~~
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: tvguide.com.au

2006-04-10 Thread Scott Barnes

Said the drop to the ocean. Last I heard, QUT was a govt managed entity.

oh poo to you then.heh.

On 4/11/06, Barry Beattie <[EMAIL PROTECTED]> wrote:
>
> Gee, Scott, this was *ages* ago. C'mon, keep up.
>
> Oh, that's right. You're a public servant now. that explains it.
>
> >
>


--
Regards,
Scott Barnes
http://www.mossyblog.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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: tvguide.com.au

2006-04-10 Thread Barry Beattie

Gee, Scott, this was *ages* ago. C'mon, keep up.

Oh, that's right. You're a public servant now. that explains it.

--~--~-~--~~~---~--~~
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: tvguide.com.au

2006-04-10 Thread Scott Barnes

DELETE
FROM person

n00bie ;) hehehe.

On 3/31/06, darryl lyons <[EMAIL PROTECTED]> wrote:
>
> DELETE * FROM person and they will :)
>
> On 3/31/06, Dale Fraser <[EMAIL PROTECTED]> wrote:
> >
> > Dam,
> >
> > That really looks open to SQL Injection, someone should let them know.
> >
> > Regards
> > Dale Fraser
> >
> > > -Original Message-
> > > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Chad Renando
> > > Sent: Friday, 31 March 2006 14:06 PM
> > > To: cfaussie@googlegroups.com
> > > Subject: [cfaussie] tvguide.com.au
> > >
> > >
> > > Crash, bang, boom of a CF site.
> > >
> > > I wonder what kind of traffic they get?  Might be some job opps
> > > opening up or maybe just some hosting opportunities maybe? ;)
> > >
> > > Chad
> > >
> > > --
> > > ---
> > >
> > >  The web site you are accessing has experienced an unexpected error.
> > > Please contact the website administrator.
> > >
> > > The following information is meant for the website developer for
> > > debugging purposes.
> > > Error Occurred While Processing Request
> > > Error Executing Database Query.
> > > [Macromedia][SQLServer JDBC Driver][SQLServer]Database 'users' cannot
> > > be opened because it is offline.
> > >
> > > The error occurred in D:\web\tvguide.com.au\index.cfm: line 32
> > >
> > > 30 : select person_id, password
> > > 31 : from users.dbo.person
> > > 32 : where person_id = #Val(cookie.person_id)#
> > > 33 : 
> > > 34 :
> > >
> > > SQL  select person_id, password from users.dbo.person where
> > > person_id = 2617356
> > > DATASOURCE  hww_sql
> > > VENDORERRORCODE 942
> > > SQLSTATEHY000
> > > Resources:
> > >
> > > * Check the ColdFusion documentation to verify that you are using
> > > the correct syntax.
> > > * Search the Knowledge Base to find a solution to your problem.
> > >
> > > Browser   Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9)
> > > Gecko/20050711 Firefox/1.0.5 (ax)
> > > Remote Address58.104.59.236
> > > Referrer
> > > Date/Time 31-Mar-06 02:01 PM
> > > Stack Trace
> > > at cfindex2ecfm1650242660.runPage(D:\web\tvguide.com.au\index.cfm:32)
> > > at cfindex2ecfm1650242660.runPage(D:\web\tvguide.com.au\index.cfm:32)
> > >
> > > java.sql.SQLException: [Macromedia][SQLServer JDBC
> > > Driver][SQLServer]Database 'users' cannot be opened because it is
> > > offline.
> > >   at macromedia.jdbc.base.BaseExceptions.createException(Unknown
> > > Source)
> > >   at macromedia.jdbc.base.BaseExceptions.getException(Unknown Source)
> > >   at
> > > macromedia.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
> > >   at
> > > macromedia.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
> > >   at macromedia.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown
> > > Source)
> > >   at
> > > macromedia.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown
> > > Source)
> > >   at
> > > macromedia.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
> > >   at macromedia.jdbc.base.BaseStatement.postImplExecute(Unknown
> > > Source)
> > >   at macromedia.jdbc.base.BaseStatement.commonExecute(Unknown Source)
> > >   at macromedia.jdbc.base.BaseStatement.executeInternal(Unknown
> > > Source)
> > >   at macromedia.jdbc.base.BaseStatement.execute(Unknown Source)
> > >   at
> > > coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212)
> > >   at coldfusion.sql.Executive.executeQuery(Executive.java:719)
> > >   at coldfusion.sql.Executive.executeQuery(Executive.java:652)
> > >   at coldfusion.sql.Executive.executeQuery(Executive.java:613)
> > >   at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
> > >   at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:499)
> > >   at
> > > cfindex2ecfm1650242660.runPage(D:\web\tvguide.com.au\index.cfm:32)
> > >   at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
> > >   at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
> > >   at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
> > >   at
> > > coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
> > >   at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
> > >   at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
> > >   at
> > > coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
> > >   at
> > > coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersisten
> > > ceFilter.java:28)
> > >   at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
> > >   at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
> > >   at
> > > coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
> > >   at
> > > coldfusion.filte

[cfaussie] Re: secure client server communication

2006-04-10 Thread Mark Stanton

I think Haikal is onto it - HTTPS with client certificates.

Traffic is encrypted with HTTPS & idenitifcation is ensured by the
cetificates at both ends.

If you are talking client (i.e. browser) / server I don't think CF
would really need to be involved at all - the browser and web server
should be able to take care of all that.

Have a look at http://httpd.apache.org/docs/2.0/ssl/ssl_howto.html#accesscontrol
and http://www.garex.net/apache/#CACreation

If you are talking about web services I guess your CF "client" would 
need to know how to pass through cert information, but at the other
end it would still be Apache receiving the request and handling the
HTTPS end of things. CF on the server end might see some extra CGI
variables, but that's about it.


On 4/10/06, Angus Johnson <[EMAIL PROTECTED]> wrote:
>
> Thanks guys!
>
> Gavin, I think I follow what you're saying with the port forwarding. Sounds
> like a pretty cool idea but relies on the customer having control over port
> allocations/routing? I don't know whether we could count on that...
> certainly something our enterprise clients could implement for that "feel
> secure" factor :)
>
> Looks like public keys is the way to go. If I am not mistaken the only way
> to get public keys into the CF picture will be to work with Java directly.
> Is this correct?
> We want to really keep things as simple as possible.
>
>  Cheers
> Angus
>
>
>  >
>


--
Mark Stanton
Gruden Pty Ltd
http://www.gruden.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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: secure client server communication

2006-04-10 Thread Angus Johnson
Thanks guys!Gavin,
I think I follow what you're saying with the port forwarding. Sounds like a pretty cool idea but relies on the customer having control over port
allocations/routing? I don't know whether we could count on that... certainly something our enterprise clients could implement for that "feel secure" factor :)

Looks like public 
keys is the way to go. If I am not mistaken the only way to get public 
keys into the CF picture will be to work with Java directly. Is this correct?
We want to really 
keep things as simple as possible.
  CheersAngus

--~--~-~--~~~---~--~~
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  -~--~~~~--~~--~--~---