Skip to main content
July 20, 2009
Question

Application variable limits?

  • July 20, 2009
  • 3 replies
  • 1025 views

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!

This topic has been closed for replies.

3 replies

Inspiring
July 22, 2009

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.

July 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

Inspiring
July 20, 2009

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