🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #571

Object locking using Application.Lock()

#571
From: Sunil.P.Thomas
Date: Wed, 11 Aug 2004 04:07
18 lines
1211 bytes
Hi ,
    In the ASP.NET , consider the following code

    .
    .
    Application.Lock()
    Application("HITS") =      Convert.ToInt(Application("HITS")) + 1
    Application.UnLock()
    .
    .

    Will the execution of the above code block  the access to  all the
application variables or
    only to Application("HITS") ?

    Thanks in advance .

            Sunil
Technical Details
Message-ID: <41199a3a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,ffcc36c2417b295,start
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Sunil.P.Thomas" <sunil@netlinkindia.com>
Newsgroups: borland.public.csharpbuilder.language.csharp
Subject: Object locking using Application.Lock()
Date: Wed, 11 Aug 2004 09:37:46 +0530
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 202.144.28.122
Message-ID: <41199a3a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1092196922 202.144.28.122 (10 Aug 2004 21:02:02 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail