从 osCommerce 中的 URL 中删除 OScsid id [英] Remove OScsid id from URL in osCommerce
本文介绍了从 osCommerce 中的 URL 中删除 OScsid id的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从 osCommerce 中的 url 中删除 OSCSID id,但未能成功.
I am trying to remove OSCSID id from url in osCommerce but didn't able to success.
下面是我的代码.
define('HTTP_COOKIE_DOMAIN', 'http://www.domainname.com');
define('HTTPS_COOKIE_DOMAIN', 'http://www.domainname.com');
是否有其他方法可以从 URL 中删除此 ID?
Is there any other way to remove this id from URL?
推荐答案
我已经找到了上述问题的解决方案.
I have found the solution for above my question.
要从站点 url 中删除 OSCSID,请按照以下步骤操作.
For removing OSCSID from site url, kindly follow below steps.
进入后端部分 -> 配置 -> 会话 -> 强制使用 Cookie -> 启用此选项并在前端检查.OSCID 将从 URL 中删除.
Go to the back-end section -> configuration -> session -> Force Cookie Use -> Enable this option and check at front-end side. OSCID will be removed from URL.
注意:您不能在启用强制 Cookie 的情况下使用共享 ssl.
Note: You cannot use shared ssl with Force Cookies on.
这篇关于从 osCommerce 中的 URL 中删除 OScsid id的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文