Architecture :: How To Handle Multiple Users Changing Same Data
Mar 24, 2010
I have a form which allows users to modify data, what's the best way to handle that so if two or more users try to make an update i get the data in there properly without overriding the new stuff. for example if name and bday are in the form, user1 changes name but not bday, same time user2 accesses the form, the original name and bday are there, user1 saves, but when user2 saves, since he had the original name value the original is saved over the first.
View 9 Replies
Similar Messages:
Mar 27, 2010
I recently received a project that contains multiple web applications with no MVC structure. For starters I've created a library (DLL) that will contain the main Business Logic. The problem is with Caching - If I use the current web context cache object than I might end up with duplicate caching (as the web context will be different for every application).
I'm currently thinking about implementing a simple caching mechanism with a singleton pattern that will allow the different web sites (aka different application domains) to share their "caching wisdom". I'd like to know what is the best way to solve this problem.
View 3 Replies
Jun 9, 2010
In our IIS (v 6.0) there is one classic ASP app deployed, which has around 35 concurrent users. Now, a new ASP.NET(3.5) app needs to be deployed on the same server which will have its own 50 concurrent users. In this scenario should we create a Application Pool for this new .net app? What are other recommendations for the IIS settings in future?
View 3 Replies
Sep 8, 2010
a designer interface (like visio)2. client to display the content created within the designer interface.We have the design outline in place, the client will be in many forms, via the web using Flash or Silverlight (depending what's installed) and via windows using a WPF application.I would like to know what people think regarding storing information from the designer, all the clients will need to access the information via the internet so a database storage solution seems the first choice. But another alternative is exporting the information from the designer in something such as XML and storing that as a physical file
View 7 Replies
Mar 18, 2010
How would I go about changing gridview colours and detailsview colours depending on who logs onto my website? Is there a way of doing it in the code behind (basic example follows) :-
If User = "Peter" Then
Gridview/Detailsview Headerstyle =
Gridview/Detailsview Controlstyle =
End If
The gridview and detailsview are connected to SqlDataSource controls and are databound to a SQL server database.
View 3 Replies
Mar 17, 2010
I have these line of code:
[Code]....
When i debug i get an error that says: 'System.Data.DataRowView' does not contain a property with the name 'job_id'and sometimes 'System.Data.DataRowView' does not contain a property with the name 'pub_id'I need to get the appropriate value for the selected row. GridView only output Jobs results or Publishers results, the problem is when the user clicks select button beside the record, i get the error i mentioned above.
View 3 Replies
Mar 23, 2010
I need to handle 2 different scenarios.1. Webapplication in a Servercenter. A user can authenticate against a companydatabase with an user account that is stored inside the companytable. We provide services to different companies, and every company has their own database. A management database contains the relation of company to database and server. A user need the companyname, username and password to logon.2. Webapplication on a company serverThe services are hosted on hardware inside the companynet. There is only one company to handle, so that a user doesn't need a companyname for login.Whats the best approach for this problem?
View 1 Replies
Jul 2, 2010
I' am trying to write a aplication using a 3 Tier Model
Data Access Layer <--> Business Logic Layer <--> Presentation Layer
But now i am facing a problem, i need to Handle Transactions i already found a interesting article
[URL] but i have some doubts.
For example when i need to iterate to a Grid in the presentation Layer how will i Use the Transactions??
[Code]....
View 2 Replies
Jan 27, 2011
I'm using .net 3.5 and am currently creating a web application used to generate a report through Aspose.CellsActually, the page is composed in a form where I get the configuration of the report I have to generate. The "generation" button is in an update panel. When I click on it, the "generation" button is hidden and a progress bar appears. When the excel file is generated, I save it in a memory stream and I send it back to the aspx page where I change the headers to allow the file's download.
View 3 Replies
Jan 24, 2016
I have followed this article: [URL] ....
I have added textbox and checkbox in nested(child) gridview....
View 1 Replies
Aug 7, 2013
How can I send the rich text mail to several recepients?
protected void SendEmail(object sender, EventArgs e)
{
string body = this.PopulateBody("John",
"Fetch multiple values as Key Value pair in ASP.Net AJAX AutoCompleteExtender",
"http://www.posta.ge" +
"in-ASP.Net-AJAX-AutoCompleteExtender.aspx",
"Here explained how to fetch multiple column values i.e." +
" ID and Text values in the ASP.Net AJAX Control Toolkit AutocompleteExtender"
+ "and also how to fetch the select text and value server side on postback");
this.SendHtmlFormattedEmail("johndoe@posta.ge", "New article published!", body);
}
With this code i can send to only one recipient, namely to johndoe@posta.ge. Say i want to add kitsi@posta.ge as well.
View 1 Replies
Sep 9, 2010
i have a situation like this, hope u can help me sort it out.
I am going to develop a portal by using all web part page and many customize web part.
BUt the personalization of the web part layout only allow modify by administrator, that means the web site is not going to personalize by public user even in drag and drop function. They just can see a normal web site..
So, in the web config file, what should i set so that the authenticate administrator can change it to effects all the user.
View 1 Replies
Mar 3, 2011
we want to have a fronend to a custom databasince, since I do have experiance with HTML/CSS and have used VB.NET before, I'm the one that gets to make it.
problem is, the one thing I have not used before is the autentication system in ASP.NET, I want to use single-signon for the system.
and I do have this right now, the only problem I have is how do I check if a user is logged in, and change the page content for autenticated users.
the template does have this:
[Code]....
which does indeed change the login view, problem is, how do I change this to change the pages and menu.this:
[Code]....
has to be a longer menu that also gives options to insert data into the database and/or remove/update the data.
View 3 Replies
May 7, 2015
How I can send mail to multiple destinations.
I am using this code....
using (MailMessage mm = new MailMessage("sender@gmail.com", txtEmail.Text)) {
mm.Subject = "Account Activation";
string body = "Hello " + txtUsername.Text.Trim() + ",";
body += "<br /><br />Please click the following link to activate your account";
body += "<br /><a href = '" + Request.Url.AbsoluteUri.Replace("CS.aspx", "CS_Activation.aspx?ActivationCode=" + activationCode) + "'>Click here to activate your account.</a>";
[Code] ....
View 1 Replies
Jun 17, 2013
How to program Sending of “Mail to Multiple Users” Using Checkbox within Gridview in asp.net C# ?
View 1 Replies
May 2, 2012
In my website I am developing "simple messaging system".I have 3 ASP controls on .aspx page, i.e., ListBox (that shows online users), multiline Textbox(to write a message) and Button("send" button, which sends message to the selected online users of ListBox)I am unable to implement below requirement:I have to select multiple online users from "ListBox", then type a message in multiline "Textbox" and click on "Send button". These messages are temporary so can not be stored in Database. I have to store them using "Application and Dictionary class".From these "Application and Dictionary class" I have to show the messages inside Pop up to the selected(from ListBox) online users.
View 1 Replies
May 7, 2015
In my website I am developing "simple messaging system".I have 3 ASP controls on .aspx page, i.e., ListBox (that shows online users), multiline Textbox(to write a message) and Button("send" button, which sends message to the selected online users of ListBox)I am unable to implement below requirement: I have to select multiple online users from "ListBox", then type a message in multiline "Textbox" and click on "Send button".
These messages are temporary so can not be stored in Database. I have to store them using "Application and Dictionary class". From these "Application and Dictionary class" I have to show the messages inside Pop up to the selected(from ListBox) online users.I hope I made my requirement clear.
View 1 Replies
Mar 11, 2010
I am a newbie of handling memory.
in my web apps, files are stored as varbinary in sql server.
my goal is to make a response to let users to download the files.
if there is a file (500 MB) stored in one record in the sql server,
what is the best way to let users download it?
I found that , in code-behind, if the files are loaded as byte[] objects, it uses the memory.
for example, the datalength of a file in the database is 500 MB.
the byte[] for this file uses 500 MB memory. am I correct?
how about the filestream? if the file is loaded as a filestream object in code-behind.s
does it also take 500 MB memory?
View 2 Replies
Oct 5, 2010
I have a project that will be assigned to me soon whereby I need to develop a survey which needs to support 40,000 users approximately. Now we are thinking of doing a staged approach so not all users are on the server at any one point of time. Probably splitting it so we can serve at least a few thousand of users...
I dont have much experience of how I can ensure to serve those levels of users on a server and how to manage this so I am after some advice?
From my understanding I need to do some stress testing on a server and obviously I need some figures i.e. average size of request, average size of response and content of response.
- Do I have to build the database and add records in to see what size is a typical survey row?
- Do I have to build the survey in .NET i.e. by adding controls etc and seeing what size is the page?
- The survey shouldnt be too instensive processing wise, it will be adding information into a backend sql database...
View 4 Replies
Apr 22, 2010
I'm quite newbie and i need to give access to the website at a very low cost, but just few people, how did you guys manage it, to hide the connection link to the public. I mean is there a better way or not to manage this. I don't know if I'm clear. What would be the cheapest way to manage this user account?
View 4 Replies
Oct 29, 2010
I am trying to provide each user with his/her own link to my website link we have in facebook e.g www.facebook.com/user_name.
How can we do this.
View 2 Replies
Jan 20, 2011
I'm comfortable sending emails to individuals in ASP.NET, but recently have needed to create a function to send an email to all users in a particular role.
A couple of problems I'm having are:
My shared hosting allows 200 emails per hour. Although not an issue at the moment it could be very soon, so how can I 'throttle' my application to not send out more emails then I'm allowed to?
If want to loop through the emails and send the messages in the background of my app. Rather than have a situation where logging off or closing the browser stops the process. point me in the direction of some articles about this type of thing, my searching so far hasn't given me great results.
View 2 Replies
Nov 1, 2010
what are the ways of handling multiple web forms data for saving into database after last form or editing data and saving back to database after last form is submitted.Previously I have used wizard & panels in a single form and also has cached data from multiple form to save when last form is submitted. Are there some better way to handle multiple web forms data for saving and editing ?
View 2 Replies
Dec 12, 2010
I am trying to create a comments page for users to review and comment on an article. I have 2 buttons on each comments posted by users; "Like" and "Don't Like". I am stuck with how to track which user voted already for a given comment. I am thinking of two options and would like to know if they are they way to go or is there a better solution.
Option 1: I have created a table in my database with stores, the comment id, the userid of the user who rated it and the value "like" or "don't like". So each time I have to query my table to find out if this user indeed vote for a given comment. The table unfortunately grows exponentially!!
Option 2: I store the commentid, userid, and "like" or "don't like" value in a cookie on the client's machine. I read the cookie and find out if the user has already voted on a comment. This is proving to be VERY quirky with cookie expiration, growing cookie size and also multiple users on the same machine.
In either way, my test case of ~1500 users, and 2 Million comments, this is getting to be HEAVY on both methods. Is there anything better?
View 3 Replies
Mar 10, 2010
I've created a photo database and search engine that creates a xml that corresponds to the multiscale image xml.My problem is how to enable multi users to search at the same time?
View 1 Replies