Hi,
Was er _nicht_ sendet, ist irgendeine Information (Statuscode o.ä.), aus dem du ableiten kannst, dass eine aufgerufene Seite nicht vorhanden ist.
Du solltest Dich nochmal etwas mit http (http://www.ietf.org/rfc/rfc2616.txt) beschäftigen.
Selbstverständlich wird vom Server ein Statuscode gesendet.
Siehe Anfang von Abschnitt 6:
6 Response
After receiving and interpreting a request message, a server responds
with an HTTP response message.
Response = Status-Line ; Section 6.1
\*(( general-header ; Section 4.5
| response-header ; Section 6.2
| entity-header ) CRLF) ; Section 7.1
CRLF
[ message-body ] ; Section 7.2
6\.1 Status-Line
The first line of a Response message is the Status-Line, consisting
of the protocol version followed by a numeric status code and its
associated textual phrase, with each element separated by SP
characters. No CR or LF is allowed except in the final CRLF sequence.
Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
Daß dieser Status-Code (meines Wissens) nicht mit Javascript abfragbar ist, ist eine andere Sache...
cu,
Andreas
--
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/
Der Optimist: Das Glas ist halbvoll. - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/