Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Overloading in coldfusion

Explorer ,
May 08, 2009 May 08, 2009

Hi,

Is overloading is possible in coldfuion?

Thanks,

TOPICS
Advanced techniques
4.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 08, 2009 May 08, 2009

yes

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 08, 2009 May 08, 2009

Thanks dan,

How many arguments it will support.I guess it has limitation .

How many actual arguments it supports and how many optinal parameters it supports.

Thanks,

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 08, 2009 May 08, 2009

I interpreted the original question as, "is it possible to overload Cold Fusion and get it to stop working?".  Apparently, that was not the correct interpretation.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
May 08, 2009 May 08, 2009

Definitively can happen, as with a any other server if you put too

much burden it'll begin to deny request and eventually crash that's

why CF has a load balancing software that you can use when you cluster

servers.

Sincerely,

Michael

El 08/05/2009, a las 8:59, Dan Bracuk <forums@adobe.com> escribió:

>

I interpreted the original question as, "is it possible to overload

Cold Fusion and get it to stop working?". Apparently, that was not

the correct interpretation.

>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
May 08, 2009 May 08, 2009

chandra12345 wrote:

Is overloading is possible in coldfuion?

ColdFusion does not support function overloading.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
May 08, 2009 May 08, 2009

That may be a 'Not Yet'.  IIRC ColdFusion 9, currently in early testing, may support method|function overloading.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
May 08, 2009 May 08, 2009

ianskinner wrote:

That may be a 'Not Yet'.  IIRC ColdFusion 9, currently in early testing, may support method|function overloading.

That would be a sweet feature.  But I guess we will have to wait and see.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 08, 2009 May 08, 2009

oh i dunno, it's typeless so anything goes with argument datatypes & i suppose

if you used argumentCollection even the number of arguments could be handled.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 12, 2009 May 12, 2009
LATEST

Thanks all,

I tried with example and found that it only allows 3 arguments as actual parameters and after that it is taken as optional parameters.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources