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

Overloading in coldfusion

Explorer ,
May 08, 2009 May 08, 2009

Copy link to clipboard

Copied

Hi,

Is overloading is possible in coldfuion?

Thanks,

TOPICS
Advanced techniques

Views

3.9K

Translate

Translate

Report

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

Copy link to clipboard

Copied

yes

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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,

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

>

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

chandra12345 wrote:

Is overloading is possible in coldfuion?

ColdFusion does not support function overloading.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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
Documentation