User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 427,203 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,170 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 498 | Replies: 0
Reply
Join Date: Apr 2007
Location: Birmingham
Posts: 378
Reputation: Fungus1487 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 37
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Whiz

Application Variables

  #1  
Apr 8th, 2008
Hello All,

im looking to find the best technique to use for the following scenario i believe this is going to be best using application level variables.

Scenario:

I have a table in a database with roughly 100 rows (increasing constantly) they are all holding integers.

These rows all hold a global setting for the application i am developing for the web. These settings will affect all users.

These settings will not be changed often.

They are basically used as flags to decide appropriate actions set by admin E.G. export a report to PDF not WORD or vice versa.


I Believe the best way to achive what i am after is to add code to the global.asax file for ON STARTUP of the application to query the database for all these items and set them.

If modified through the admin section these could then be set directly.

Is this the best option for me to choose.

I will be holding 32bit Integers and the number of settings will increase. Will i have any performance issues/setybacks using this method? cheers.
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 10:50 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC