Solved

lock - valid on the web?

Posted on 2011-09-06
2
158 Views
Last Modified: 2012-05-12
lock (this)
            {
                GlobalMethods.SendEmailMessageToSales("TotalLink Information Request", body, false, "sales@total-computing.com", tbName.Text, tbEmail.Text);
            }


In an asp.net web page, does this code work as it should?  Does a request to "lock" even get honored?  If not, can I force a page to "wait" until SendEmailMessageToSales returns a value (currently it does not).
0
Comment
Question by:knowlton
2 Comments
 
LVL 16

Accepted Solution

by:
disrupt earned 500 total points
ID: 36489238
0
 
LVL 5

Author Closing Comment

by:knowlton
ID: 36496035
thx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now