EasyCFM.COM ColdFusion Forums / Coding Help! / NOT IsDefined("URL.*")

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: NOT IsDefined("URL.*") -- page: 1 2

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

dlackey
08-07-2007 @ 3:08 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Moderator
Posts: 935
Joined: Jun 2007

CJ,

Thanks, clear as a bell now.  

Cheers,
Chip

Webmaster
08-08-2007 @ 12:49 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4533
Joined: Jan 2002

Remember that the URL vars are a STRUCT.

You could do:

<cfif NOT StructCount(URL)>

or

<cfif StructIsEmpty(URL)>


let mek now if you have further questions

Pablo Varando
Senior Application Architect
EasyCFM.COM, LLC.

904.483.1457 \\ mobile
webmaster@easycfm.com \\email

CJ
08-08-2007 @ 1:33 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4262
Joined: Oct 2002

quote:

let mek now if you have further questions


...why, so you can answer 'em a day and 8 posts after the answer had been given? :P

(see abram's answer above... the thread just went on 'cuz we hit a few tangents) Smile  

-CJ-
@ #coldfusion/DALNet
http://charlie.griefer.com

Teachers open the door. You enter by yourself.
—Chinese Proverb

Webmaster
08-08-2007 @ 2:06 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4533
Joined: Jan 2002

Yes and I was trying to show more then one way to skin a cat... Smile

Duh!

Pablo Varando
Senior Application Architect
EasyCFM.COM, LLC.

904.483.1457 \\ mobile
webmaster@easycfm.com \\email

CJ
08-08-2007 @ 4:42 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4262
Joined: Oct 2002

Wink

-CJ-
@ #coldfusion/DALNet
http://charlie.griefer.com

Teachers open the door. You enter by yourself.
—Chinese Proverb

Lossed
08-08-2007 @ 8:54 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Senior Member
Posts: 1095
Joined: Apr 2004

I've found not structCount() slightly faster than structIsEmpty().

Lossed
---------------------------
When the only tool you have is a hammer, everything looks like a nail Smile
-----------------------------

PAGE: 1 2
Sponsored By...
iOpenSoft, LLC is a Houston, Texas Advanced Technology Studio Specializing in Web Design, Web Development, iPhone App Development and Android App Development.