Home  >  Article  >  php教程  >  购物系统SESSION共享的解决方案

购物系统SESSION共享的解决方案

WBOY
WBOYOriginal
2016-06-13 09:52:441003browse

D0000D发往论坛板块-------------------------------------------------------
No0 号板块 dedecms
D8888D贴子标题-------------------------------------------------------
请高手给一个SESSION共享的解决方案
D8888D主贴内容-------------------------------------------------------
从网上找了一个购物车源码,他的SESSION是自动获取的,用在自己已有的网站程序中,存在网站程序SESSION和购物车SESSION分别独立的问题。
怎样才能实现购物车SESSION就是现有网站程序的SESSION呢?
说明:网站程序的SESSION是用数据库的用户表控制的,其中的用户可以分为多个级别,不同级别拥有不同的权限,希望网站程序SESSION与购物车SESSION整合后,购物车同时能通过SESSION分配用户权限.

我来回答





Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn