Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to test to see if parameters were passed 1

Status
Not open for further replies.

iamkillyou

Programmer
Joined
Jul 12, 2001
Messages
30
Location
US
I can test for url parameters if I know their name like this:

<CFIF isDefined(&quot;url.SomeVar&quot;)>
....
</CFIF>

I need to test true if ANY parameters were passed and false if no parameters were passed is there a way to do this? I have tried:

<CFIF isDefined(&quot;URL&quot;)>
...
</CFIF>

and that returns true every time.

I've also tried:
<CFIF isStruct(&quot;URL&quot;)>


 
Try:

<CFIF NOT StructIsEmpty(URL)> - tleish
 
That's what I was looking for thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top