xmlhttp error

  • Thread starter sudhaoncyberworld
  • Start date
S

sudhaoncyberworld

Hi

i am using xmlhttp object in my js & asp.net code, ie working fine and
when i give response it always throwing the below exception after
giving response, it want to come out of this

"Thread was being aborted"

try
{
----------
---------
Response.Clear();
Response.Write(retVal);
Response.End();
}
catch (Exception exp)
{
WriteLog("e :: " + exp.ToString());
}
 
V

VK

Hi

i am using xmlhttp object in my js & asp.net code, ie working fine and
when i give response it always throwing the below exception after
giving response, it want to come out of this

"Thread was being aborted"

Trying myself for the first time as a News Cop:

1. Please do not start new thread (even under other names).

2. This newsgroup doesn't deal with server-side ASP - choose an
appropriate group for it.

3. Google is your friend:
a) go to <http://www.google.com>
b) copy'n'paste "Thread was being aborted" and click Search
c) check the results on the first page.
The 4th one will bring you to
<http://p2p.wrox.com/topic.asp?TOPIC_ID=5989>

P.S. Did I like to be a cop? I donno... rather strange feeling... may
need to try more. :)
 
T

Thomas 'PointedEars' Lahn

VK said:
Trying myself for the first time as a News Cop:

And succeeded :-/
1. Please do not start new thread (even under other names).

Utter nonsense. Without new threads there would not be much discussion
here, would it? Proper advice is that you should continue an existing
thread iff the question or problem you have has a strong relationship to
it.
2. This newsgroup doesn't deal with server-side ASP - choose an
appropriate group for it.

That is not entirely true. ASP (ever seen it client-side?) is a CGI
application platform that allows resources to be generated through a
number of programming languages, including Microsoft JScript, which is
on-topic here, being a JavaScript-related ECMAScript implementation.

Especially using MSXML to access resources is a JScript-related feature
of the Microsoft AOM/DOM (ref.: AJAX.) However, the way it is used in
this case indicates access through a programming language that is not
JScript, maybe VBScript.
P.S. Did I like to be a cop? I donno... rather strange feeling... may
need to try more. :)

Please don't.


PointedEars
 
L

Lasse Reichstein Nielsen

Thomas 'PointedEars' Lahn said:
ASP (ever seen it client-side?) is a CGI application platform
....
To be pedantic, and we wouldn't want to miss a chance for that,
ASP is a different platfrom from CGI (Common Gateway Interface).
<URL:http://hoohoo.ncsa.uiuc.edu/cgi/>

They do have similar purposes:: generating dynamic pages...
that allows resources to be generated through a number of
programming languages, including Microsoft JScript, which is
on-topic here, being a JavaScript-related ECMAScript implementation.

ASP is a later generation of server-side framework than CGI.
CGI is pretty much the bare bone "when receiving this request,
call this program to get the response". CGI programs runs as
stand-alone programsthat generate raw HTTP the.
The ASP framework is more supporting and container like, and can, e.g,
support a session independenly of the scripting language. A CGI
program must maintain its own state independenly of the web server.

/L
 
T

Thomas 'PointedEars' Lahn

Lasse said:
...
To be pedantic, and we wouldn't want to miss a chance for that,
ASP is a different platfrom from CGI (Common Gateway Interface).
<URL:http://hoohoo.ncsa.uiuc.edu/cgi/>

To be pedantic, I wrote "CGI application platform", not "CGI platform".
AIUI, the underlying implementation of all HTTP-related server-side
platforms has to be a CGI implementation.


PointedEars
 
M

Matt Kruse

Thomas said:
To be pedantic, I wrote "CGI application platform", not "CGI
platform". AIUI, the underlying implementation of all HTTP-related
server-side platforms has to be a CGI implementation.

Not true. CGI is the "Common Gateway Interface", and it's one way for
servers to package up the request and put things into environment variables,
etc for applications to retrieve. This is a server-side function, and there
is no requirement that a server-side application need implement this
interface. An HTTP server or application may take a raw request and do with
it whatever it wants.

ASP is not a "CGI application platform" because it does not use the Common
Gateway Interface, afaik.
 
T

Thomas 'PointedEars' Lahn

Matt said:
[...]
ASP is not a "CGI application platform" because it does not use the
Common Gateway Interface, afaik.

From the Implementation Questions section of
<URL:http://msdn.microsoft.com/library/en-us/dnasp/html/msdn_aspfaq.asp>
it appears that you are correct.

I will try to call ASP "the server-side execution environment
in Microsoft Internet Information Server", as the vendor calls
it, in the future. Thanks for clarification.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,169
Latest member
ArturoOlne
Top