ACM Home Page
Please provide us with feedback. Feedback
Race condition in Ajax-based web application
Full text PdfPdf (1.42 MB)
Source ACM Southeast Regional Conference archive
Proceedings of the 46th Annual Southeast Regional Conference on XX table of contents
Auburn, Alabama
SESSION: Systems and applications table of contents
Pages 390-393  
Year of Publication: 2008
ISBN:978-1-60558-105-7
Authors
Therese J. Albert  Southern Polytechnic State University
Kai Qian  Southern Polytechnic State University
Xiang Fu  Georgia Southwestern State University
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 46,   Downloads (12 Months): 73,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1593105.1593208
What is a DOI?

ABSTRACT

The atomicity is an important issue in asynchronous based data communication. In the modern web application today, asynchronous introduces hazardous effect causing unexpected results. This paper discusses the race condition occurred between the user request and server response due to the asynchronous nature of the web application using Ajax. A race condition occurs when multiple threads in a process try to modify the critical section data at the same time. The data will depend on which thread arrived last. Concurrent requests will be running asynchronously and it is impossible to predict which will return first. The locking mechanism is not a very effective way but may avoid race condition. Our future project develops a more effective way to detect the race conditions while parsing.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Race Conditions with Ajax and PHP Session, http://thwartedefforts.org/2006/11/11/race-conditions-with-ajax-and-php-sessions/
 
2
Macwan, Troubles with Asynchronous Ajax Requests and PHP Sessions, http://www.chipmunkninja.com/article/asyncsessions
 
3
Harry Fuecks, AJAX and Session "Race Conditions", http://www.sitepoint.com/blogs/2006/02/27/ajax-and-session-race-conditions/
 
4
A. Pnueli. The temporal semantics of concurrent programs. In Proceedings of the 18th Symposium on Foundations of Computer Science, 1977.
 
5
M. Y. Vardi and P. Wolper. An automata-theoretic approach to automatic program verification. In Proceedings of the First Symposium on Logic in Computer Science, pages 322--331, Cambridge, June 1986.
 
6
Stefano Di Paola wisec@wisec.it, Giorgio Fedon giorgio.fedon@gmail.com, Subverting Ajax, December 2006
 
7
Jeremy Keith, Dom Scripting.
 
8
 
9
J. J. Garrett, Ajax: A New Approach to Web Applications, http://www.adaptivepath.com/publications/essays/archives/000385.php
 
10
Gary McGraw, John Viega, Building Secure Software: Race Conditions.
 
11
Michael Sonntag, Institute for Information Processing and Microprocessor Technology, Johannes Kepler University Linz, Altenbergerstr, Ajax Security in Groupware.
 
12
Ali Mesbah, Arie van Deursen Software Evolution Research Laboratory, Delft University of Technology, An Architectural Style for Ajax
 
13
PHP Manuel, www.php.net
 
14
Semaphore, http://en.wikipedia.org/wiki/Semaphore_%28programming%29
 
15
Greg Murray, Asynchronous JavaScript Technology and XML (Ajax) with the Java Platform.

Collaborative Colleagues:
Therese J. Albert: colleagues
Kai Qian: colleagues
Xiang Fu: colleagues