|
by: John Kraft |
last post by:
Hi all,
My question is more of a phylisophical one here, but I am wondering what
the difference is (effectively and performance wise) between using a
shared variable/static variable and using a session variable.
I have two different applications right now that effectively perform the
same action at one point. In the one application I created a shared
variable:
|
by: Sean |
last post by:
Problem with sessions
I have created an application without concern for sessions. As it turns out
I think that might be my undoing.
What I have:
I have an online quiz.
I don’t need to know users or save any data. If the application crashes or
user exits the program they should simply start again. Pretty basic.
All interactions are stored in an array (not much going on to save to a
|
by: Bob Day |
last post by:
VS 2003, vb.net , sql msde...
I have an application with multiple threads running. Its a telephony
application where each thread represents a telephone line. For code that
would be the same for each thread, I put in Shared methods as below. It is
only now that I am realizing the complexity of multiple threads accessing
shared methods. And, quite honestly, I am very confused.
I have tried System.Threading.Monitor.Enter, Synclock,...
|
by: Manuel Canas |
last post by:
Hi there,
I'm having a hard time figuring out why is this happening. The problem is a
couple of variables are not getting properly initialized when I load a
FormX from it's parent form.
I have the main form (parent) as the startup object for the project. When I
load the FormX from a menu from the main form (parent) and here is where
these two variables are not gettting initialized properly. This is the code
that calls the FormX from...
|
by: gemel |
last post by:
I have been reading sime material in .NET that throws some doubt on my
understanding of shared procedures.
With regard to object programming I assumed that variables declared
within a class were private to the class, each object would have
access to it's ver own copy of that variable. With regard to the
methods defined for a class, I assumed that these are shared among all
objects of the class, the code acting on the instances own copy...
|
|
by: Nak |
last post by:
Hi there,
It's probably me being weird more than the function but I'm having
problems with it doing as it should.
I have a C++ application with 2 resources of custom types,
RT_INIFILE @ 2000 (INI file)
and
|
by: Confused ! |
last post by:
I am writing an ASP.NET application and I want to use shared members on the
data layer to retreive information from the SQL Server.
If I declare a Function to be Shared, how will this affect things in a multi
user environment. In other words, are my shared classes for the want of a
better word. "Instantiated" for each user.
Hope this makes sense !
--
|
by: Laser Lu |
last post by:
I was often noted by Thread Safety declarations when I was reading .NET Framework Class Library documents in MSDN.
The declaration is usually described as 'Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.'
So, does this mean All the static/shared methods written in .NET compatible programming language, such as C#, VB.NET, are guaranteed to be...
|
by: fniles |
last post by:
I create a thread where I pass thru a message. When I click very fast many
times (like 50 times) to create 50 threads, the message did not get pass
thru ProcessMessage.
For example: strBuffer = "#TRADE, D1410-123456, BUY, 1, ESM7, DAY, LIMIT,
1490.00, , , 0, 0, 0, 0, 0, links |52994/25/2007 10:47:17 AM !A", when I
trigger to create many threads (like 50), this message did not get to sub
ProcessMessage in clsEachMessage.
I have added...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|