Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

Run a AJAX query which uses PHP code that limits queries/sec on client side? -


i have php code, uses web service query data. however, web service limits queries per second based on server (i m not sure exact mechanism, seems ip address)

i m using ajax query data php file on server, there way can let client search data faking requesting data rather servers?

the issue getting rateexceeded error message server, 2 clients requesting same page, rather obvious since webservice seeing 1 server, server.

so, can somehow, make happen when these clients query data, service rather thinking request being originated via these clients, rather server.

you can't fake it, if query webservice directly via ajax, should seeing clients' ip addresses. note if you're doing kind of processing on data ws returns, you'd have perform in javascript, on client side.

if request server ws contains confidential data (e.g. kind of access key) clients must not see, approach useless.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -