Click here to Skip to main content
15,887,979 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Having difficulty deploying ASP.Net Pin
Sathesh Sakthivel19-Jun-07 17:14
Sathesh Sakthivel19-Jun-07 17:14 
QuestionGet value Pin
seemamltn19-Jun-07 12:16
seemamltn19-Jun-07 12:16 
AnswerRe: Get value Pin
PrakashBhaskar19-Jun-07 18:10
PrakashBhaskar19-Jun-07 18:10 
QuestionRead cell phone # from SIM card programmatically Pin
Kuber K19-Jun-07 11:54
Kuber K19-Jun-07 11:54 
QuestionMembership vs MembershipProvider Pin
Brendan Vogt19-Jun-07 11:46
Brendan Vogt19-Jun-07 11:46 
QuestionTwo dimensional arraylist Pin
Hasan Ali19-Jun-07 11:38
Hasan Ali19-Jun-07 11:38 
AnswerRe: Two dimensional arraylist Pin
RepliCrux19-Jun-07 13:08
RepliCrux19-Jun-07 13:08 
QuestionAjax Post XMLHttpRequest take long time Pin
Immunity1819-Jun-07 11:30
Immunity1819-Jun-07 11:30 
hello i dont know where i had to post this
I have a postonly.html page which send a "POST" xmlhttprequest at register.php

my problem is while query is complete (and table is updated) extremly fast(1-2 sec) as i can see
my database via Putty.exe


Responce of the
if(http.readyState == 4 && http.status == 200) 
			{
				alert(http.responseText);
			}


is takes about 15 sec (so the alert box pop up)

anyone knows any suggestion so it would be response faster? (my get method Ajax works fine and fast)
<code><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 

<html> 
<head> 
    <title>Customer Account Information</title> 
    <script type="text/javascript"> 
	function postForm()
	{
		//var httppost = new getHTTPObject(); 
		var url2 = "register2.php";
		var params = "account=testisok&email=yeah";

		http.open("POST", url2, true);

		//Send the proper header information along with the request
		http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
		http.setRequestHeader("Content-length", params.length);
		http.setRequestHeader("Connection", "close");
		
		http.send(params);
		http.onreadystatechange = function() 
		{
			
			if(http.readyState == 4 && http.status == 200) 
			{
				alert(http.responseText);
			}
		}		

	}

function getHTTPObject() { 
  var xmlhttp; 

  if(window.XMLHttpRequest){ 
    xmlhttp = new XMLHttpRequest(); 
  } 
  else if (window.ActiveXObject){ 
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); 
    if (!xmlhttp){ 
        xmlhttp=new ActiveXObject("Msxml2.XMLHTTP"); 
    } 
    
} 
  return xmlhttp; 

  
} 
var http = getHTTPObject(); // We create the HTTP Object 
</script> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head> 
<body> 
    <p>Enter customer ID number to retrieve information:</p> 
    <p>Account: <input type="text" id="account" value="" /></p>
    <p>E-mail :<input type="text" id="email" value="" /></p> 
    <p><input type="button" value="Register" onClick="postForm"/></p> 
    <div id="divAccountInfo"></div> 
</body> 
</html></code>

Questionasp.net frequently called time consuming method Pin
AmrSaad8419-Jun-07 11:14
AmrSaad8419-Jun-07 11:14 
QuestionReturn value Pin
seemamltn19-Jun-07 8:06
seemamltn19-Jun-07 8:06 
AnswerRe: Return value Pin
RepliCrux19-Jun-07 10:35
RepliCrux19-Jun-07 10:35 
QuestionAny way to implement Gridview paging without postback? Pin
InvalidTypecast19-Jun-07 7:07
InvalidTypecast19-Jun-07 7:07 
AnswerRe: Any way to implement Gridview paging without postback? Pin
Not Active19-Jun-07 7:41
mentorNot Active19-Jun-07 7:41 
Questionneed to do customize installing shield to my web application Pin
AbdullahM19-Jun-07 7:06
AbdullahM19-Jun-07 7:06 
AnswerRe: need to do customize installing shield to my web application Pin
PrakashBhaskar19-Jun-07 18:28
PrakashBhaskar19-Jun-07 18:28 
QuestionRedirect from my contentpage Pin
anderslundsgard19-Jun-07 4:24
anderslundsgard19-Jun-07 4:24 
AnswerRe: Redirect from my contentpage Pin
badgrs19-Jun-07 4:53
badgrs19-Jun-07 4:53 
GeneralRe: Redirect from my contentpage Pin
anderslundsgard19-Jun-07 22:48
anderslundsgard19-Jun-07 22:48 
QuestionGeneral Term Needed Pin
Brendan Vogt19-Jun-07 4:06
Brendan Vogt19-Jun-07 4:06 
QuestionInteresting question about Testing Pin
cisco210319-Jun-07 3:51
cisco210319-Jun-07 3:51 
AnswerRe: Interesting question about Testing Pin
Manas Bhardwaj19-Jun-07 4:08
professionalManas Bhardwaj19-Jun-07 4:08 
QuestionReading from global resource file in javascript function Pin
deep719-Jun-07 3:12
deep719-Jun-07 3:12 
AnswerRe: Reading from global resource file in javascript function Pin
N a v a n e e t h19-Jun-07 3:16
N a v a n e e t h19-Jun-07 3:16 
GeneralRe: Reading from global resource file in javascript function Pin
deep719-Jun-07 3:24
deep719-Jun-07 3:24 
GeneralRe: Reading from global resource file in javascript function Pin
Not Active19-Jun-07 3:32
mentorNot Active19-Jun-07 3:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.