CLI版PHPでのクッキーの設定
echo "Content-Type: text/html;\n";
echo "set-Cookie: セッション名=値; path=パス; expires=日時; domain=ドメイン名;\n\n";
expires=0 だと、セッション終了時までが有効になります。
secure を付けるとHTTPS時のみ有効になります。
「secure」設定例
echo "Content-Type: text/html;\n";
echo "set-Cookie: セッション名=値; path=パス; expires=日時; domain=ドメイン名;secure\n\n";
The shape of the system that overflows in the world is equal to the "knowhows" that parties concerned of each industry have.
People who create the system need high-ranking "knowhows" further.
I want to become ..high-ranking "knowhows".. handlers' help.
2011/02/21
登録:
コメントの投稿 (Atom)
-
using Excel = Microsoft.Office.Interop.Excel; /// Excelオブジェクト Excel.Application oXls; /// ワークブックコレクション Excel.Workbook oWBook = this.oXl...
-
■環境 ・Windows XP(HostOS) ・CentOS5.6(GuestOS) ・VMware Player3.1.4 VMware PlayerにLinuxを入れて使用していると、CPU使用率100%になる場合がある。 場合があるというか、必ずなる。この為、...
-
MacへBootCampを設定し、Windowsを入れた場合に、BlueToothが動かないケースがあり 色々、調べたのでログを残します。 ◆操作した環境は下記になります。 ・マシンは「MacBook」。 ・OSは「Snow Leopard」。 ・BootCa...
0 件のコメント:
コメントを投稿