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...
-
Yumでインストールします。 下記のコマンドを実行 yum install java-1.8.0-openjdk yum install java-1.8.0-openjdk-devel 下記でバージョンの切り替え alternatives --c...
-
リンクでgoogleカレンダーへ予定を追加すした、忘れそうなのでメモ ○Javascriptでの記述例 var text = "買い物"; var details = "新春バーゲンセール"; var location= ...
0 件のコメント:
コメントを投稿