Web Analytics Made Easy -
StatCounter Should I save some variables in the application ? - CodingForum

Announcement

Collapse
No announcement yet.

Should I save some variables in the application ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Should I save some variables in the application ?

    Would it be wise to save some (about 20) variables in the application ?

    (like this on Global.asa):

    Sub Application_OnStart

    Application("Table_BG_Color") = "FFFFFF"
    ...

    End Sub

    They will not be changed, so I just want
    to avoid including it as a file or
    accesing some database

    Good or Bad idea ?
    ··(Tip): 2 get code from this page - paste it in2 WordPad and then in2 NotePad...
    ··
    ··Best Regards - Yovav Gad
    ··EMail: [email protected]
    ··Web-Site: www.GadWorks.com

  • #2
    No.

    Do the data come from the database?
    Are they use to put common style in all the pages in the site?
    Why not make an external CSS file instead?
    Glenn
    vBulletin Mods That Rock!

    Comment


    • #3
      Originally posted by glenngv
      Are they use to put common style in all the pages in the site?
      Why not make an external CSS file instead?
      Marcus Tucker / www / blog
      Web Analyst Programmer / Voted SPF "ASP Guru"

      Comment

      Working...
      X