Re: [Phplib-users] Basic authentication
Brought to you by:
nhruby,
richardarcher
From: Lindsay H. <fm...@fm...> - 2002-02-01 04:40:05
|
Thus spake Chris Johnson on Thu, Jan 31, 2002 at 09:38:30PM CST > > 2) Provide a method for users linking in from another site to have a > "single signon" capability -- that is, they logged in at the other site, and > the URL needs to contain the information that they logged in with. As you > know, the standard URL form is something like: > > [protocol]://[username]:[password]@host.domain.name:[port]/document_path There are only some protocols (called "schemes" in RFCs) which support this format, I believe. AFAIK HTTP isn't one of them. An HTTP request in this format will simply drop the "@" symbol and everything in front of it. See RFC2616, which says... 3.2.2 http URL The "http" scheme is used to locate network resources via the HTTP protocol. This section defines the scheme-specific syntax and semantics for http URLs. http_URL = "http:" "//" host [ ":" port ] [ abs_path [ "?" query ]] -- Lindsay Haisley | "Everything works | PGP public key FMP Computer Services | if you let it" | available at 512-259-1190 | (The Roadie) | <http://www.fmp.com/pubkeys> http://www.fmp.com | | |