Multiple users is not a problem.

Multiple users can use any calls because ASP.net worker process itself
provides reasonable concurrency / safety around any code it runs. 

It is possible to write things that are neither threadsafe nor
re-entrant once ones knowledge becomes vast enough and one is writing
code with threading and other high-end programming capabilities, but
if things are not threadsafe and/or not re-entrant whether they are
static or not they will have same problems.
http://weblogs.asp.net/oldnewthing/archive/2004/06/29/168719.aspx
explains this a little. "Programming .net Components" is the bible for
obscenely advanced .net programming techniques although many of the
chapters are good for "mere mortals" as well.

You are getting clever enough in your coding that a book like
"Programming .net Components" may have some chapters that will greatly
interest you. Buy a copy from Bookpool.com (cheaper than amazon) or
give me a call to borrow mine since you are in the area.
http://www.amazon.com/exec/obidos/ISBN=0596003471/learnasp

--- In [EMAIL PROTECTED], "Rajendra Appalla"
<[EMAIL PROTECTED]> wrote:
> Hi,
>  
> In my web app, I created a class file "Global.cs" and in that file I
> coded several methods that are being repeatedly used in the app.  
> According to the advice of Charles Carroll, I declared these methods as
> static so that there would be no need to instantiate an object and can
> directly use the methods. 
> Now I am little skeptical whether this would cause any problem if
> multiple users access these at one time??
>  
> For example, one of the methods takes an integer as input parameter and
> returns a string for that particular integer value after querying the
> database.
>  
> Can anyone tell me if there going to be any problem and how to solve it?
>  
> Raj.
>  
>  
>  
> 
> 
> [Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to