[PHP-users 5785] Re: session と cookie について

Yasuo Ohgaki php-users@php.gr.jp
Thu, 28 Feb 2002 20:55:35 +0900


Haruhiko wrote:
> URL(サーバ名等)に_(アンダーバー)がついているものについて、
> Session変数に値が保持できないという現象を確認しており、調査対応
> 中だそうです。対応策としましては、
> 
>    URLからアンダーバーを取り除く。
> 
> という対処でいけました。

ドメイン、ホスト名にアンダーバーはFRC違反だったような気がします。

[From RFC 951]
1. A "name" (Net, Host, Gateway, or Domain name) is a text string up
   to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
   sign (-), and period (.).  Note that periods are only allowed when
   they serve to delimit components of "domain style names". (See
   RFC-921, "Domain Name System Implementation Schedule", for
   background).  No blank or space characters are permitted as part of a
   name.

DNSがらみのRFCはメールと同じくらいいろいろあるので、どうかわかりませんが、、

-- 
Yasuo Ohgaki
yohgaki@dd.iij4u.or.jp

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!  http://bb.yahoo.co.jp/