[CLUE-Tech] PHP Sessions and Cookies: Brain Cramp
Jed S. Baer
thag at frii.com
Sat Oct 12 22:57:24 MDT 2002
On Sat, 12 Oct 2002 22:53:23 -0600
David Anselmi <anselmi at americanisp.net> wrote:
> Matt Gushee wrote:
> [...]
> >
> > Whoa, now that is cool! I had no idea you could do that with Telnet.
> > Certainly useful; however, I just tried it on my Web site, and the
> > server returned the document at the requested URL, but no headers. Are
> > there any command options or environment variables that might affect
> > that?
> >
>
> The headers are the stuff before the <HTML> tag. There should at least
> be one that say "HTTP" followed by a 3 digit result code (like 200 or
> 400).
So, I gues _not_ like this? Is this informative? And why is it different
than the "HEAD" or "lynx -mime-header" command. Did somebody go and make
telnet too smart?
$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /~jbaer/php/trysession.php
<html>
<body>
<hr>
Count is 1<p>session is 74dfbd4da10d4adb098e53aeb877b61a<hr>
</body>
</html>
Connection closed by foreign host.
> Interesting that throwing bad requests at the CLUE server shows that my
> ISP is running a proxy for me (squid).
Great Cthulhu! That could cause all sorts of things, like faster page
loads!
jed
--
We're frogs who are getting boiled in a pot full of single-character
morphemes, and we don't notice. - Larry Wall; Perl6, Apocalypse 5
More information about the clue-tech
mailing list