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

Application variable limits?

New Here ,
Jul 20, 2009 Jul 20, 2009

Copy link to clipboard

Copied

I want to use an application variable as a list,but the length of the list could be very long and it's a variable number of entries in the list. 

The docs say strings can be as large as server memory will allow.  Is there any limit beyond server memory for application variables?

Thanks!

TOPICS
Advanced techniques

Views

960

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 ,
Jul 20, 2009 Jul 20, 2009

Copy link to clipboard

Copied

If it's a variable number, are you sure that application is the appropriate scope?

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
Participant ,
Jul 20, 2009 Jul 20, 2009

Copy link to clipboard

Copied

I agree with Dan whole-heartedly,  Application variables should be pretty static. but of greater concern: If you are worried about server memory being a problem, would it be better/possible to store your variable in a database?

On the flipside - "test it" create a big couple gig application variable and see what happens

-sean

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
Engaged ,
Jul 22, 2009 Jul 22, 2009

Copy link to clipboard

Copied

LATEST

I would counsel putting that big list into a database table ... or even, a file.

What you could then store, in the Application (or some other) variable-pool, is a reference ... a moniker ... a handle ... to the proper list of information, so that at the appropriate time the correct information can be inserted into the outgoing page.

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