www.webdeveloper.com
Results 1 to 4 of 4

Thread: Do any body experience one submit results in two ajax calls?

Threaded View

  1. #1
    Join Date
    Feb 2011
    Posts
    83

    Do any body experience one submit results in two ajax calls?

    Hi there,

    Please look at the following server log, how come one submit seems having two ajax calls:
    Code:
    Line 39:
    	trigger_error("ajax.php, frmName={$_POST['frmName']}, token={$token}", E_USER_NOTICE);
    Code:
    Line 430: 
    	trigger_error("Notice: ajax.php update token  - {$sql} - ", E_USER_NOTICE);
    Even for the double call ajax.php, why it repeats twice of line 39 then twice of line 430? it should repeat twice of {line 39 line 430}.

    Does any body have the same experience? What does the log tell or what does this log tell? Does it call ajax.php twice for one click of submit?

    Thanks,

    Server Log:
    Code:
    <errorentry>
    	<datetime>2012-06-11 22:55:16 (EST)</datetime>
    	<errornum>1024</errornum>
    	<errortype>User Notice</errortype>
    	<errormsg>ajax.php, frmName=ldDtlInfo, token=Gvikk2e5q6CBqqBUlIlup9dSdGJPEfKDOjfLqa_ONPE</errormsg>
    	<scriptname>C:\Apache\htdocs\id\ajax.php</scriptname>
    	<scriptlinenum>39</scriptlinenum>
    </errorentry>
    
    
    <errorentry>
    	<datetime>2012-06-11 22:55:16 (EST)</datetime>
    	<errornum>1024</errornum>
    	<errortype>User Notice</errortype>
    	<errormsg>ajax.php, frmName=ldDtlInfo, token=Gvikk2e5q6CBqqBUlIlup9dSdGJPEfKDOjfLqa_ONPE</errormsg>
    	<scriptname>C:\Apache\htdocs\id\ajax.php</scriptname>
    	<scriptlinenum>39</scriptlinenum>
    </errorentry>
    
    
    <errorentry>
    	<datetime>2012-06-11 22:55:16 (EST)</datetime>
    	<errornum>1024</errornum>
    	<errortype>User Notice</errortype>
    	<errormsg>Notice: ajax.php update token  - UPDATE c SET T='blKr0xXiGPd9ExPBQO8yL3c3REY8rO5mF-nJGjSvOCw' WHERE CustID = 100 - </errormsg>
    	<scriptname>C:\Apache\htdocs\id\ajax.php</scriptname>
    	<scriptlinenum>430</scriptlinenum>
    </errorentry>
    
    
    <errorentry>
    	<datetime>2012-06-11 22:55:16 (EST)</datetime>
    	<errornum>1024</errornum>
    	<errortype>User Notice</errortype>
    	<errormsg>Notice: ajax.php update token  - UPDATE c SET T='blKr0xXiGPd9ExPBQO8yL3c3REY8rO5mF-nJGjSvOCw' WHERE CustID = 100 - </errormsg>
    	<scriptname>C:\Apache\htdocs\id\ajax.php</scriptname>
    	<scriptlinenum>430</scriptlinenum>
    </errorentry>
    Last edited by wow; 06-11-2012 at 11:14 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles