Warning: Only Smart People Click Here?
Apr 23, 2010
so theoretically, i have multiple companies using my application, and each company has multiple users. Now data is stored in a sql database and certain parts of it are changed enough whereby it has to be "reselected" by every user after a specific amount of time. ill call this the "highly dynamic data." (I already sorted out the 'users by company' effeciently with a cluster index in the companyID column for the tables)
lets say that each session will "check" if it has to be updated every 15 seconds. How will it check? If someone submitted a change to the "highly dynamic data" in the sql database then they will also submit the "time of change" to an .xml database. Moreover, each session has a "last updated" session variable. The session that submitted the change will update his "last updated" session variable at the time of the sql update. However, all other sessions will have out dated "last updated" session variables. and every 15 seconds each session checks the xml database to see if their "last update" is current. If it is not current then it does the sql database update, else, it does nothing..is this a good mechanism for efficient updating? The goal is to keep the sql database as free as possible and reduce strain on the server?
edit: oh yeah, how would i implement the timing factor here? firstly, i assume the 15 second counter shouldnt be concurrent with all other users, otherwise the server would be a cluster-f*** every 15 seconds so how would i incorporate some randomness for each session?
View 4 Replies
Similar Messages:
Jun 11, 2010
I need a develop a smart dropdown list for an inhouse application
Let assume, i have a dropdownlist with the following values:
ABC
EDF
XYZ
A123
B456
Now when the user types A in the drpdownlist (we can type anything onthe dropdownlist, but we can superimpose a textbox on it), the dropdwn list should sort itself and show only ABC and A123.
View 20 Replies
Mar 15, 2011
I have an application whereby a user browses to an Ajax enabled page, sets up some filters, and then clicks on download report. When the user clicks on this button, they are redirected to a Download.aspx page, which builds up the report and appends it to the response as binary (the file may either be zip/pdf or excel). The issue I am having is that everytime the user goes to the page and hits the download button the warning message from IE pops up "To help protect your security internet explorer has blocked this site from download files to your computer". This is not a huge issue, but the problem is that when the user clicks this warning to accept the file, it reloads the page, and all my filters are lost, so the user has to set up all the filters to filter out the data they dont want and then re-download the file.
The interesting thing is that I thought I could track the filters using session variables, so that when the page reloads after accepting the warning message it could be restored, but IE for some reason is not loading the page in the way it should, and so the Page_Load method is never fired when IE reloads it after the user accepting the warning, so I cannot restore the filter settings on the page because I have no event to do it from!
I have searched and searched for a solution.. I have tried changing the mime headers - I am using content-disposition tag set to "attachment; filename=report.zip", I have tried changing the mime type descriptions to different things to see if I can avoid the warning but to no avail. I have tried using an iframe but couldnt quite get it to do what I want it to do, the page was still being refreshed..
View 8 Replies
Sep 23, 2010
I have a question.aspx page that allows "guests" and "admin" to use. If guest access the page, it says Submit, if admin access it, it says "Approve" on the button control.
My question is, when guest accesses that page, I don't care about their credentials, but when admin accesses that page, I want them to log in first. And the Admin users are the ones that work in our company with the same domain and such. Anyone that access outside would be "guest".. how can I prompt people in the same network when they try to access that page? I need that AD credentials to do some programming in code behind.
View 1 Replies
Jan 11, 2010
I need to get rid of Microsoft smart quotes in my code behind page. I'm sure this is simple, but its new to me.
View 7 Replies
Jan 23, 2011
I just downloaded AjaxControlToolkit and followed [URL] to install it. Then I tried to follow [URL] to learn how to use the toolkit. But no matter what I do I'm stuck at adding an Extender. I added a ScriptManager and a button to the page as instructed but when I click on the button, there is no smart tag ("Show Smart Tag" is disabled"). I thought it might be the button so I tried Calendar and all I get is the "Auto Format" smart tag.
Microsoft Visual Studio 2008
Version 9.0.30729.4462 QFE
Microsoft .NET Framework
Version 3.5 SP1
View 3 Replies
Jan 9, 2010
My asp.net application send Invitation emails and conformation emails , i want to create one component that handle sending mails and be flexible to use HTML templates for the emails and this emails will contain links for invitation or confirmation can someone tell me how i can design this compoenet
View 1 Replies
Apr 29, 2010
I have been trying to solve this issue for a while, but no solution till now.
I try to reinstall it but still , the smart tag are not showing up and when I right click it, it is grayed out.
Anyone, with a solution to solve this issue. I am using asp.net 3.5, visual studio 2008
View 2 Replies
Sep 16, 2010
I installed VS 08. and then installed Ajax extensions 1.0. I also downloaded ajax control toolkit and added to my toolbox. And I placed scriptmanager on the designer. Now when I am trying to add functionality to standard button via smart tag option. I see this option disabled. how can I enable it and have extenders in play.
View 2 Replies
Oct 31, 2010
I am trying to search inside a database in a column named 'Title'.
I tried the fulltext searching but this is just not good enough.
How can I do a smart search for non-english languages inside one column?
View 5 Replies
Apr 15, 2010
Im seriously looking into obfuscation for my ASP.net.Is there anyone here that obfuscates their code? if so what do you use? Im looking at 2 finalists in my research - SmartAssembly and Dotfuscator
So far all I have found is bad points about Dotfuscator - is there anyone here that can save this company's rep?So far they have been rude, their product is hard to use, the documentation is bad, and the support is poor not to mention that they are expensive!Is there anyone that can raise a voice to say "hey they arnt all that bad"?has anyone used Smart Assembly? they seem to be the way to go - but i dont know if its just advertising hype...
View 12 Replies
Nov 2, 2011
Using VB 2008 and AjaxControlToolkit, when right clicking a control, the smart tag option is always greyed out.
Is this a bug in 2008 or something related to using the Ajax controls?
View 1 Replies
Feb 16, 2010
how can we count how many people are seeing our page?and how how can we count active users?
View 12 Replies
Aug 13, 2010
We're debating on the architecture of this university database project. We can't decide if we should relate the tables as -> "one person to many addresses" or "many persons to many addresses". We understand that there will be duplication of some data in the "one_to_many" schema. How bad would that be. "many to many" is obviously more normalized. Are there any trade offs for either setup? We expect there to be 100,000+ people.
View 1 Replies
Oct 8, 2010
I am working on a smart device project and want to run on emulator.i have completed the application.but now i want to run it on Emulator in vs2008.
View 1 Replies
Feb 19, 2010
In every organization there will be mail access project. I want to know the sample application. Can u please tell me the sample application. I know how to send the mails from asp.net page, by using one email id. means by setting the mailer host, username and password details in web.config file. But i need to send from different email id's to different id's.
View 3 Replies
Oct 19, 2010
checkboxlist textbox from a data transfer,I want those people in the textbox before the deletion.
obviously...
The second update, not deletion textbox
View 1 Replies
May 13, 2010
AD : Get All people objects for each OU returned
[Code]....
View 1 Replies
Aug 6, 2010
Our code is in SVN. We develop using Visual Studio and the AnkhSVN plugin.Having used VSS before SVN I was used to the idea of locking files so other users know not to edit it while you are (in fact I thought this was the main point of source control, to prevent lost data from these conflicts).I've been told this rarely happens and cases where you can't work because another dev is locking you out are more frequent (which sounds like a principle that might only apply to a certain subset of dev projects). But anyway, SVN is better and we're using it.
So when I do edit a file, and go to check it in, and find out the other user has edited it too, what do I actually do?Surely there's a better way than saving a copy of my file, reverting changes,updating it from server,then merging my changes back in with winmerge? When I right-click the file and click 'merge' I'm told I should update first, so that's obviously not what I need.Update: partial answer OK, it sounds like I just hit update,then SVN merges non-conflicting changes automatically,and should let AnkhSVN know about any conflicting changes to allow some kind of resolution.Does anyone know how this works in AnkhSVN - what I'd actually do?
(if not I'll try it myself, accept the current top answer and update this question with the second half for posterity).
View 2 Replies
Feb 18, 2010
I am running vs2010, added the ajax toolkit. I can get form control to drag onto forms and run (ie the editor) but cannot get calender extender to work. I manually added it to the code. set the target id. No calender when ran. But the smarttag will appear on the textbox with the only option of remove extender. Why are the smart tags not working. The show smart tag option is disabled on the right click context menu of the textbox.
View 3 Replies
Apr 22, 2010
If I have a asp.net site for desktop, what should I do to enable smart phones ?By mistake I added a / to the URL and I noticed that the desktop web site was simple, no buttons, just URL links set to a side.
View 2 Replies
May 27, 2010
Any one now when VS2010 will be able to develope to smart devices?
View 1 Replies
Apr 19, 2010
I am working on a web app that displays customer orders.When the app runs in IE 8, some of my transaction ID and invoice numbers are getting converted into a graphic. When you hover of it, It says to "click here to call this Skype number in Namibia". In Firefox, it displays correctly.Here is a screen shot:This app is going to be used by external customers, so I don't have control over their browser settings. I need to programmatically prevent it, somehow.Is there any code I can put into my web form to prevent third party DLLs from doing this?Is this related to IE 8 or is something that Skype is doing?
View 2 Replies
Jun 26, 2010
I am using VS2008. When I tried to implement AJAX to my application, I couldn't get the smart tag for the Required Field Validator in the webform. I need it to implement 'ValidatorCalloutExtender' (AJAX) control in my application.
View 1 Replies
Jan 11, 2011
I am going to develop new application in asp.net .But I want to create business/data access layer in such a way that I can reuse it in any other interface (Smart Phones,php etc).how can I achieve this ?I need to create project architect according to that.
View 2 Replies