Zencartのセッションについてですが、以下の環境に該当する場合は、少々対応が必要なようです。
サーバが専用SSLではなく、共用のSSLを利用している。
カスタマイズの際にURLをそのまま張り付けて使用している。
静的htmlへのリンクがZencartのサイト内に含まれている。
私の管理するZencartのサイトは上記の全てに当てはまっていました・・・orz
解決策の前にZencartのセッションの基本的な仕組みについて説明したいと思います。
…
.htaccessに以下を記述してルートに設置
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
RewriteBase /
# Rewrite URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
参考:http://eru-net.jp/web/?itemid=58
graffiti on the web
この投稿へのコメント
コメントはまだありません。