i've been tinkering with the modperl book examples
for Apache::Ticket*.pm (as described p305-322)...

it works for
        linux/konqueror
        linux/netscape
        win/explorer

it doesn't work for
        linux/lynx
        mac/netscape

the ones that do work get to the login page with two textfields
(username and password) with a login button; those that don't
work get a "your browser doesn't accept cookies" page.

where can i find some pointers on the differences between various
browsers' adherence to standards, and hints on workarounds?

(or, is this something else i've stumbled into?)

--

here's a telnet trace of the situation, so apparently the program
logic is working in all instances; but some browsers just won't
play nice--

        $ telnet sample-from-modperl-book.com 80
        Trying ##.##.##.##...
        Connected to sample-from-modperl-book.com.
        Escape character is '^]'.
        GET /try HTTP/1.1
        Host: sample-from-modperl-book.com

        HTTP/1.1 302 Found
        Date: Sat, 28 Apr 2001 19:26:48 GMT
        Server: Apache/1.3.9
        Set-Cookie: request_uri=http%3A%2F%2Fsample-from-modperl-book.com%2Ftry%3F; 
domain=.sample-from-modperl-book.com; path=/
        Location: http://www.sample-from-modperl-book.com/login
        Transfer-Encoding: chunked
        Content-Type: text/html; charset=iso-8859-1

        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... ?
???

        will@duo: /var/www/ed 
        $ telnet sample-from-modperl-book.com 80
        Trying ##.##.##.##...
        Connected to sample-from-modperl-book.com.
        Escape character is '^]'.
        GET /login HTTP/1.1
        Host: sample-from-modperl-book.com
        Cookie: request_uri=http%3A%2F%2Fsample-from-modperl-book.com%2Ftry%3F; 
domain=.sample-from-modperl-book.com; path=/

        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?
???

-- 
don't visit this page. it's bad for you. take my expert word for it.
http://www.salon.com/people/col/pagl/2001/03/21/spring/index1.html

[EMAIL PROTECTED]
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!

Reply via email to