473,785 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How is the application scoped? Question from 70-547 exam prep. kit

Hello

Please help me grasp the idea of the following question:
You are a consultant developing an e-commerce Web site for a client.
You need to decide which configuration attributes to store for the
application. Which considerations should you take into account?
and the correct answer with explanation is:
You would need to know whether your application was user, machine,
domain, or session scoped.

Maybe it's a problem with my understanding of the english language,
however I'll appreciate in other words examples of
user|machine|do main|session scoped applications in the context of
storing configuration attributes for the (web) application.

Regards
Jan 3 '08 #1
2 1006
LVP
Just guessing,
user: each user can have their our attributes or preferences
like email accounts
machine: preferences for the entire machine regardless of user
logging onto the website ( cookie )
domain: based on domain, English, Italian
Session: storing info on session when session is over all reset

LVP
"maciek kanski" <ni***********@ sie.mailawrote in message
news:47******** **************@ mamut2.aster.pl ...
Hello

Please help me grasp the idea of the following question:
You are a consultant developing an e-commerce Web site for a client.
You need to decide which configuration attributes to store for the
application. Which considerations should you take into account?

and the correct answer with explanation is:
You would need to know whether your application was user, machine,
domain, or session scoped.


Maybe it's a problem with my understanding of the english language,
however I'll appreciate in other words examples of
user|machine|do main|session scoped applications in the context of storing
configuration attributes for the (web) application.

Regards

Jan 4 '08 #2
LVP
Web.config
Machine.config ( or Framwork.config )
Session ( in session )
"LVP" <lv**********@h otmail.comwrote in message
news:O8******** ******@TK2MSFTN GP02.phx.gbl...
Just guessing,
user: each user can have their our attributes or preferences
like email accounts
machine: preferences for the entire machine regardless of user
logging onto the website ( cookie )
domain: based on domain, English, Italian
Session: storing info on session when session is over all reset

LVP
"maciek kanski" <ni***********@ sie.mailawrote in message
news:47******** **************@ mamut2.aster.pl ...
>Hello

Please help me grasp the idea of the following question:
You are a consultant developing an e-commerce Web site for a client.
You need to decide which configuration attributes to store for the
application. Which considerations should you take into account?

and the correct answer with explanation is:
You would need to know whether your application was user, machine,
domain, or session scoped.


Maybe it's a problem with my understanding of the english language,
however I'll appreciate in other words examples of
user|machine|d omain|session scoped applications in the context of storing
configuratio n attributes for the (web) application.

Regards


Jan 4 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
15892
by: aa | last post by:
I am migrating to PHP from ASP where there are the Application Scope variables which are accessible from any page on a website and which are used, in particular, for hit counters. Is there a similar mechanism in PHP?
3
1992
by: Wayfarer | last post by:
Hi, I'm trying to set up a simple application-scoped counter in global.asa to display on my webpages. When I call Application("VisitorCount") on another page as shown: <% response.write "Visitor: " & Application("VisitorCount") %>
2
4590
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET Here's the scenario: 1. .NET Windows Client on a remote machine makes a web service call to update tables on a Web Server running SQL Server 2000. 2. The Update is updating about 1000 - 3000 records doing simple update statements like "Update...
5
1992
by: Rich | last post by:
The following code produced a singleton object with application scope when it should have had page scope: public class Singleton { private static Singleton uniqueInstance = null; private Singleton() { } public static Singleton getInstance()
3
1379
by: rgparkins | last post by:
HI I have an ASp.NET web application that I am developing which uses a menu control that will not change "very frequently" BUT can do!. The control will load its menu items from an xml file that exists in a configuration directory. My idea was to have a SystemFileWatcher which is notified when the file changes. This will in turn load the new config into the Application object on the server. The user control ALWAYS loads its config...
3
4941
by: Mirek Endys | last post by:
Hello all, I have this problem. I have a windows service and I would like to put there Settings for starting this service. Because of this service is running under NETWORK_SERVICE account, what is the best way to use settings? Should I create my own settings or can I use classic application settings. Is there way to change this application-scoped settings change programmatically? Thanks.
9
2554
by: Dave Booker | last post by:
When I run a particular application I've been working on for a while, it somehow finds a value for the Application Setting "Test.Properties.Settings.Default.ProjectPath", but I can't see where it is acquiring the value! I have been through all of the project's Properties, and read through every app.config on my entire computer and can't find the value it's getting during runtime. Mysteriously, when I step through the application in...
2
13136
by: Bob | last post by:
The my.settings name space is easy to use to modify User settings from within code, but the application settings can't seem to be modified that easily. I want the user to be able to modify some of the application setting ( like my connection strings) through a friendly user interface on one of my forms, without having to go in the .config file with notepad. If its in my code I can do testing and validating when he chages things. Any...
3
4794
by: xycos | last post by:
Hello. I apologize for asking this question as the information I need is availible via the MSDN library, however I cannot seemt o understand what I need to do, so I'm asking here. I have created application settings in Visual Studio (right-click on the project, go to the settings tab, etc.) and have associated each of these settings with a property on a form. This seems to be working right (i.e. if I edit the default value of a setting,...
2
1700
by: Chris Dunaway | last post by:
What what I have read, Application Scoped settings in the setting file are read only. Why is this? Is there a good reason for this restriction? I understand that some settings will be different for each user of the app, hence the User Scoped settings. User scoped settings can be changed and persisted at runtime. But there are also settings that are not User Scoped (i. e. Application Scoped) that still might need to be changed at...
0
9489
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10100
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2893
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.