24.2.9 NewCookieクラス
NewCookieクラスのメソッドを使用する場合の注意事項を次に示します。
-
次に示すようにvalueOf(String value)メソッドの引数を指定してください。次に示す以外の記述形式で引数を指定したとき,動作は保証されません。
-
NewCookie.valueOf("name=xxxx;Version=xxxx;Comment=xxxx;Domain=xxxx;Path=xxxx;Max-Age=xxxx;Secure");※
-
NewCookie.valueOf("name=xxxx;Path=xxxx;Domain=xxxx;Comment=xxxx;Max-Age=xxxx;Secure");※
-
NewCookie.valueOf("name=xxxx;Comment=xxxx;Max-Age=xxxx;Secure");※
-
NewCookie.valueOf("name=xxxx;Path=xxxx;Domain=xxxx;Version=xxxx;");※
-
NewCookie.valueOf("name=xxxx;Path=xxxx;Domain=xxxx;"); ※
-
NewCookie.valueOf("name=xxxx;"); ※
- 注※
-
"xxxx"の部分に,プロパティの値を入れます。
-