Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Locking Application object

Thread Tools

Locking Application object

Ron Vecchi
Posts: n/a
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.


Ron Vecchi

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Locking locking resolution Frontpage raiderhawk General Computer Support 0 01-08-2008 01:42 AM
increase in cpu usage on locking and locking the system Computer Support 0 06-15-2007 12:06 PM
Application locking to support optimisitc locking ? Timasmith Java 4 11-01-2006 12:42 AM
Object creation - Do we really need to create a parent for a derieved object - can't the base object just point to an already created base object jon wayne C++ 9 09-22-2005 02:06 AM
Application registration/locking =?Utf-8?B?c29tZXNwYW1Abm9zcGFtLm5vc3BhbQ==?= ASP .Net 0 05-22-2004 06:21 PM