PowerCMS™
PowerCMS 4 系のサポートは2026年3月31日をもちまして終了いたします。期限まで PowerCMS 5/6 最新版へのアップグレードをご検討ください。
[ブログ] PowerCMS 6 でのアップデートまとめ を追加しました。
[ブログ] PowerCMS サポートの実績 (2025年1月) を追加しました。
[ブログ] PowerCMS サポートの実績 (2024年12月) を追加しました。

MTGetCookie

MTGetCookie

name モディファイアで指定した Cookie の値を出力します。

使い方

<$MTGetCookie name="session_id"$>

<MTIf name="session_id">
   Cookie「session_id」に値がある
<MTElse>
   Cookie「session_id」が存在しないか Cookie「session_id」に値がない
</MTIf>

MTGetCookie と関連のあるテンプレートタグ (2)