473,322 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

accessing response status code using js

dmjpro
2,476 2GB
can i access http status code using js ...

plz help me out .....
Feb 25 '07 #1
4 3374
dorinbogdan
839 Expert 512MB
can i access http status code using js ...

plz help me out .....
You could try it using, again, AJAX.
See this article
Feb 26 '07 #2
dmjpro
2,476 2GB
thaaannnnxxxxxxxxxxxxx .... a lot of thanx ......
Feb 26 '07 #3
acoder
16,027 Expert Mod 8TB
can i access http status code using js ...

plz help me out .....
But, HTTP status code of what? Why use Ajax for that? If it's for another page that's fine, but why would you want that?
Feb 27 '07 #4
dorinbogdan
839 Expert 512MB
Thanks Acoder for completion.
Yes, the state of a document/frame/form/object/XMLHttpRequest.... can be obtained by checking the readyState property on the onreadystatechange event.
More info right on msdn.
Feb 27 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jim Flath | last post by:
I have a situation when I need to set the response status code to a non 200 and then serve up a generic error page (html page not a jsp). I can successfully call response.setStatus(...
8
by: Jazzis | last post by:
If I want to execute an ASP page and get NOTHING in return, no HTL Headers as well? response.clear clears only the contents, but HTML Header is still returned. Thanks for your time. Adam
1
by: ehilario | last post by:
Hello everyone, I am trying to access a webservice to post some values via MSXML2.ServerXMLHttp The OS used is win2003 on both machines. When I access the local machine (A) which has the same...
4
by: Vasanth | last post by:
Hi: I am using Sun JdbcOdbcDriver to access MS-Access from Java client on Windows platform. We are in the process of migrating from Win to Solaris and AIX platform. MS-Access will continue to...
0
by: George | last post by:
Hello, I'm running an ASPX application "WebApplication1" which consumes a web service (service1.asmx) hosted on a machine with IP (128.1.7.x) . The web service is located in the intranet. The...
4
by: Hexman | last post by:
Code below ---- I've asked a similar question on this forum earlier. This is a slightly different situation. Previous Question ---- I'm trying to save some specific web pages to disk as...
0
by: rnaimon | last post by:
I found the following information on this site, but I am unable to get it to work. All it brings back is the xml page with no data. I am running a Windows 2003 Server with Exchange 2003 Server. ...
8
by: GaryDean | last post by:
I have a Wizard page and need to affect the next and previous buttons from my code-behind. I've googled around and found two solutions, and neither appear to work. I can access the SideBarList...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.