We offer outstanding professional Joomla!TM extensions.

Professional Joomla! Extensions

Professional Joomla! Extensions

Forum Related discussions Coding ajax

Member Login



Community Builder

This module is for demo of CB integration.





Forgot login?
No account yet? Register

Latest Forum Activity

ajax

PHP developing.
2 posts • Page 1 of 1

ajax

Postby louenlax » February 5th, 2010, 6:15 am

How do you stop abuse of ajax? I have an ajax application that responds to people typing in words in a textbox, and the ajax app responds to their key presses by calling the php script each time. How do I stop a person constantly typing stuff and causing the server difficulty in trying to handle all the requests?
_____________________________
external keyword tool ~ keyworddiscovery.com ~ keycompete.com ~ compete.com ~ webmasterworld.com
Last edited by louenlax on February 10th, 2010, 4:18 am, edited 1 time in total.
louenlax
 
Posts: 2
Joined: October 24th, 2009, 4:23 am
Name: i need help
Browser: firefox

Re: ajax

Postby Admin » February 5th, 2010, 3:21 pm

Check the length of the typed data and track last click time. Once it is > i.e. 5 secs - send request
Let he without sin throw the first stone.
User avatar
Admin
Site Admin
Site Admin
 
Posts: 326
Joined: October 21st, 2008, 5:39 pm
Location: index.php
Name: Administrator
Browser: FireFox


2 posts • Page 1 of 1

Return to Coding

Who is online

Users browsing this forum: No registered users and 0 guests

 
Copyright © 2008-2010 Blogomunity.com
Trademarks and tradenames used herein are the property of their respective holders.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Blogomunity is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.