Locking Application object

Discussion in 'ASP .Net' started by Ron Vecchi, Jul 24, 2003.

  1. Ron Vecchi

    Ron Vecchi Guest

    if I lock the Application object and modify it will an exception be thrown
    when another request tries to access it while it is locked.

    I am looking for a good way to store a dataset into memory that can be used
    on an application level for all users to access. Every predetermined amount
    of time I will lock it and update the information in it. I want to make
    sure that the request that is tring to access the locked Application object
    (or where ever I end up storing the dataset ) will wait untill the lock is
    released and then access it. rather than throwing an exception.

    Thanks,

    Ron Vecchi
     
    Ron Vecchi, Jul 24, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?c29tZXNwYW1Abm9zcGFtLm5vc3BhbQ==?=

    Application registration/locking

    =?Utf-8?B?c29tZXNwYW1Abm9zcGFtLm5vc3BhbQ==?=, May 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    315
    =?Utf-8?B?c29tZXNwYW1Abm9zcGFtLm5vc3BhbQ==?=
    May 22, 2004
  2. Michael Chermside

    RE: Jython, GILs and object locking.

    Michael Chermside, Oct 10, 2003, in forum: Python
    Replies:
    2
    Views:
    416
  3. Timasmith
    Replies:
    4
    Views:
    459
    Bjorn Borud
    Nov 1, 2006
  4. Allan Ebdrup

    asp.net 1.1 application pool locking

    Allan Ebdrup, May 11, 2007, in forum: ASP .Net
    Replies:
    6
    Views:
    708
    Steven Cheng[MSFT]
    May 22, 2007
  5. Wayne  Wengert

    Application Locking

    Wayne Wengert, Jan 17, 2004, in forum: ASP General
    Replies:
    2
    Views:
    106
    Wayne Wengert
    Jan 18, 2004
Loading...

Share This Page