----- Original Message -----
From: "will trillich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 28, 2001 9:44 PM
Subject: cookies work for some browsers, not for others... ?


[snip]

> cf
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <HTML><HEAD>
> <TITLE>302 Found</TITLE>
> </HEAD><BODY>
> <H1>Found</H1>
> The document has moved <A
HREF="http://www.sample-from-modperl-book.com/login";>here</A>.<P>
> </BODY></HTML>
>
> 0
>
> Connection closed by foreign host.
>
> ???
> what's that trailing zero for (or from), by the way? and that
> "cf" that preceeds <!DOCTYPE... ?
> ???

That's the formatting done for the "chunked" content-type.  I really don't
recall exactly how it works.  All I remember is that each set of hexadecimal
digits [that's what they are] somehow must represent the next "chunk" to be
transferred - it might be a byte count.  In any case, if you're REALLY
interested, go look it up in the RFC for HTTP/1.1 - it's explained in better
detail there.

[snip]

> HTTP/1.1 200 OK
> Date: Sat, 28 Apr 2001 19:27:34 GMT
> Server: Apache/1.3.9
> Transfer-Encoding: chunked
> Content-Type: text/html
>
> 294
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
> <HTML><HEAD><TITLE>Log In</TITLE>
> </HEAD><BODY BGCOLOR="white"><H1>Please Log In</H1><FORM
> METHOD="POST" ACTION="/login" ENCTYPE="application/x-www-form-urlencoded">
> <TABLE><TR><TD>Name</TD> <TD><INPUT TYPE="text" NAME="user"
> ></TD></TR> <TR><TD>Password</TD> <TD><INPUT TYPE="password"
NAME="password"
> ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="request_uri"
> VALUE="http://sample-from-modperl-book.com/try?";><INPUT TYPE="submit"
NAME="Log In"
> VALUE="Log In"><P></FORM><EM>Note: </EM>You must set your browser
> to accept cookies in order for login to succeed.You will be asked
> to log in again after some period of time has elapsed.
> 0
>
> Connection closed by foreign host.
>
> ???
> and here it's bracketed with "294" in front, and "0" again taking
> up the rear. what's up with that?
> ???
See above.

  Issac

Internet is a wonderful mechanism for making a fool of
yourself in front of a very large audience.
  --Anonymous

Moving the mouse won't get you into trouble...  Clicking it might.
  --Anonymous

PGP Key 0xE0FA561B - Fingerprint:
7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B





Reply via email to