•
•
•
•
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
![]() |
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.
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
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Using Hidden Variables in ASP.NET (ASP.NET)
- Problem with cookies in ASP (ASP)
- Help With Variables (C#)
- Can any one help me with java application (Java)
- Session Variables a threat? (VB.NET)
- Creating an array/collection that holds variables (Visual Basic 4 / 5 / 6)
- Practical application of static member function (C++)
- HELP! Illegal Character Constant in a Console Application (C++)
- Launching an application from a thread (C++)
- Address Book Application... (here's what I have done so far..) (C++)
Other Threads in the ASP.NET Forum
- Previous Thread: add watermark in image
- Next Thread: change data value at front end


Linear Mode