We have a application named Audit application. The nature of this tool is to view the audits and send mail to corresponding people under list under dropdows...
Now at any time more than 5 to 10 people are accessing this tool.
I am using NTID authentication.(eg: americas\djohn) as user name
This is creating a problem where emails are being delivered to in correct receipient.
But when I do live debug..line by line...the audit is going to the correct people. Please let me know how to have a perfect solution for this.
Note: To send mails, I am using .net mail; Using asp.net, SQL server 2008.
Should I implement some technique for this? Should I use some WCF or web services for the same which might help me?
What is happenning is that, many people are accessing the same page at a time. So the data is going to database but when sent and email it goes to different people and I dont know why...
Code is correct. When do line by line debug its going correct, when multiple people acces it... different people are getting different emails....can some one tell me how to implement multiple users accessing asp.net page and how to avoid data loss and confilcts???
shreenidhi
Member
122 Points
76 Posts
Handling multiple user data and operation and access
Feb 21, 2013 06:01 AM|LINK
Hello All,
I am bit new this concept.
We have a application named Audit application. The nature of this tool is to view the audits and send mail to corresponding people under list under dropdows...
Now at any time more than 5 to 10 people are accessing this tool.
I am using NTID authentication.(eg: americas\djohn) as user name
This is creating a problem where emails are being delivered to in correct receipient.
But when I do live debug..line by line...the audit is going to the correct people. Please let me know how to have a perfect solution for this.
Note: To send mails, I am using .net mail; Using asp.net, SQL server 2008.
Should I implement some technique for this? Should I use some WCF or web services for the same which might help me?
Please help
Thanks!
Shree
Sunil Abraha...
Member
28 Points
5 Posts
Re: Handling multiple user data and operation and access
Feb 21, 2013 11:06 AM|LINK
Can you please paste some code snippet of the logic which you are using?
shreenidhi
Member
122 Points
76 Posts
Re: Handling multiple user data and operation and access
Feb 22, 2013 06:26 AM|LINK
Hi,
The code is simple..
What is happenning is that, many people are accessing the same page at a time. So the data is going to database but when sent and email it goes to different people and I dont know why...
Code is correct. When do line by line debug its going correct, when multiple people acces it... different people are getting different emails....can some one tell me how to implement multiple users accessing asp.net page and how to avoid data loss and confilcts???
Thanks
Angie xu - M...
All-Star
18045 Points
1550 Posts
Microsoft
Re: Handling multiple user data and operation and access
Feb 28, 2013 02:31 AM|LINK
Hi shreenidhi
You could refer this to learn how to send emails to multiple recipients here(http://forums.asp.net/t/1465789.aspx),
You could learn how to handle multiple users changing same data below, I think it will give some tips for you,
http://forums.asp.net/t/1539868.aspx
hope it helps you,
With regards
Feedback to us
Develop and promote your apps in Windows Store
Sunil Abraha...
Member
28 Points
5 Posts
Re: Handling multiple user data and operation and access
Mar 01, 2013 10:03 AM|LINK
Try to put the code in a transaction and see how it works.