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

Application variable limits?

New Here ,
Jul 20, 2009 Jul 20, 2009

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

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

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

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

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

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