Hi,
I have a little project that uses the table definitions available from
mySQL via a datasource (ie SQL show tables, show columns from
{tablename}).
This all works very well.
I wanted to be able to run the same project against ms-access
datasources and cannot find out how to get the list of t
Mayor Quimby: "You people are nothing but a pack of fickle mush-heads."
Springfieldian #1: "Hey, he's right!
Springfieldian #2: "Give us hell, Quimby!"
Crowd: "Yaa!"
On 12/8/06, Ryan Sabir <[EMAIL PROTECTED]> wrote:
>
> That's one of my gripes with the 'new' web. People invent all sorts of
>
> G'day Mat
> I hate to be a fly in the ointment, but you're quite wrong with most of
> what you say about isDefined() in your preceding post.
>
> G'day Adam,
Get out of my ointment LOL
after some googleing I found the following.
http://corfield.org/blog/index.cfm?do=blog.entry&entry=E0816B26-E1F
G'day Mat
I hate to be a fly in the ointment, but you're quite wrong with most of
what you say about isDefined() in your preceding post.
> isdefined(session.crap) will return true
It will error. If your double-quote key is missing and you actually
mean isdefined("session.crap") (which is a diff
On 12/8/06, Adam Cameron <[EMAIL PROTECTED]> wrote:
>
>
> Presume you mean:
> isdefined("session.crap)" (note: quotes)?
lol most peoples brains won't throw errors to pseudo code.
isdefined(session.crap) will return true
isdefined(crap) should be true
structKeyExists(session, "crap")
should be
Presume you mean:
isdefined("session.crap)" (note: quotes)?
I tried this code:
structKeyExists(session, "crap"): #structKeyExists(session, "crap")#
isDefined(session.crap):
#isDefined(session.crap)#Didn't think that one would
work too well [#cfcatch.message#] ;-)
isDefined("session.crap"):
ISdefined is whacked
structkeyexists(session, "crap")
returns false
isdefined(session.crap)
returns true
also isdefined is slower.
now some people say "speed difference is never enough to worry about"
but try saying that to a site that's running a cluster of 9 enterprise cf
servers.
every spee
Semantics aside, the reason I stopped using isDefined() is because it
was flaky, and returned false positives sometimes.
One could have code like this:
#session.foo#
And it *could* error, saying session.foo doesn't exist. Note, this was
in a closed test environment, running one browser i