去除zencart程序的zenid参数的两种方法
2011-09-05 10:40
113 查看
去除zencart程序的zenid有两种方法
1、在后台 Configuration->session 将 Force Cookie Use 设置为ture;
一般如果网站只是在刚开启的时候存在zenid 的话,只要这样设置一下就可以了;
另一种就是从头到尾,url地址后面一直都会有一串zenid= 参数后缀,这个情况可能是因为缓存文件夹没有写分配权限或者不存在,可以试试方案2。
2、引用英文论坛上的一个正确回复:
In case some of you are wondering why zen_id is all of a sudden being added to your links (or always has) and you want it gone:
Be sure that your “Session Directory” in Configuration>Sessions is set to a directory that actually exists and is writable. If the directory doesn’t exist, then Zen Cart will starting adding zenid to URLS.
Hope this helps.
这句话的意思就是说在zen-cart后台的 Configuration>Sessions 里有一项 Session Directory,它是指定session所使用的文件夹的,如果这个文件夹不存在或者不可写的话,那么就会在URL上显示 zenid= ,解决方法就是让这个项所指向的文件夹存在并且可写。
大家共同学习,大家也可以上我的个人主页:www.95epay.info 了解zencart支付接口
1、在后台 Configuration->session 将 Force Cookie Use 设置为ture;
一般如果网站只是在刚开启的时候存在zenid 的话,只要这样设置一下就可以了;
另一种就是从头到尾,url地址后面一直都会有一串zenid= 参数后缀,这个情况可能是因为缓存文件夹没有写分配权限或者不存在,可以试试方案2。
2、引用英文论坛上的一个正确回复:
In case some of you are wondering why zen_id is all of a sudden being added to your links (or always has) and you want it gone:
Be sure that your “Session Directory” in Configuration>Sessions is set to a directory that actually exists and is writable. If the directory doesn’t exist, then Zen Cart will starting adding zenid to URLS.
Hope this helps.
这句话的意思就是说在zen-cart后台的 Configuration>Sessions 里有一项 Session Directory,它是指定session所使用的文件夹的,如果这个文件夹不存在或者不可写的话,那么就会在URL上显示 zenid= ,解决方法就是让这个项所指向的文件夹存在并且可写。
大家共同学习,大家也可以上我的个人主页:www.95epay.info 了解zencart支付接口
相关文章推荐
- 去除zencart程序的zenid的两种方法
- 在GUI程序中使用控制台的两种方法-方法1
- 两种退出android程序全部activity的方法
- asp去除所有的超级链接的两种方法 替换与正则
- 秋天.NET操作IIS两种方法 案例程序
- 洗牌程序的两种实现方法比较
- Angular.js跨controller实现参数传递的两种方法
- windows下 程序里和cmd中获取/查看进程的参数的方法,打开进程
- hbase 程序优化 参数调整方法
- WorldWind学习总结【二】-程序启动时的相关参数获取方法
- C#.Net中获取程序运行时间的两种方法 (转载:陈进学博客)
- 使用JavaScript获取URL中的参数(两种方法)
- 程序中和SQL中去除回车换行的方法
- js接收url参数的两种方法
- eclipse下添加GCC编译器的编译链接库以及程序运行参数方法
- Main方法传递参数执行动态程序
- VBA调用DOS程序两种方法
- 获取程序执行时间的两种方法
- 用javascript获得地址栏参数的两种方法
- 安卓中两种制作程序Splash的方法